Running Apache On Windows Server
Oct 27, 2008How stable is Apache for Windows XP Pro?
Can i get the mod_rewrite to work just fine?
Is this a good idea if im no linux buff, or should i just go ISS?
How stable is Apache for Windows XP Pro?
Can i get the mod_rewrite to work just fine?
Is this a good idea if im no linux buff, or should i just go ISS?
Most people probably run Linux on their media servers, but since I don't know much about Linux and the media server we have is unmanaged, I was wondering how you guys feel about running Windows Server 2003 Std on a media server instead of Linux. We'll only be using the server to host Flash video files (.flv) and we'll be serving those vids on websites hosted on other servers, resulting in approx. 50,000-100,000 media views per day (filesizes range from approx. 5MB to 10MB). We don't want to run Windows Media Services, just a Web server (IIS6) and have the Flash video players on the external websites take care of the streaming/downloading part.
View 0 Replies View Relatedif i can create 2 VPS with completely different OS such as CentOS5 and Windows 2003 Std.
The main server will be running CentOS with HyperVM.
Getting error while running backup on server. Plesk 12 windows 2012.
WARNING: (server object 'server') Cannot dump sso certificate[Could not find file 'C:Program Files (x86)ParallelsPleskadminconfsso.sp.pem'.]
WARNING: (server object 'server') Cannot dump idp certificate[Could not find file 'C:Program Files (x86)ParallelsPleskadminconfsso.idp.pem'.]
I run a FreeBSD box as my file and webserver I use a DynDns domain name and run the little update program. But anyway when ever I use my lappy and when ever my lappy makes an outgoing connection a login prompt comes up asking to connect to my domain. It used to just say my public IP but I edited hosts.rc so now it says my domain on the prompt.
Is this somthing to do with samba or apache on BSD or is windows detecting that I host my own or what.
I'm not sure I understand the server-status page enough to know if this is a problem or not, but I have several processes that seem to run forever, or until I restart Apache. e.g.
Code:
13-1 21045 0/697/4264 W 59.45 19641 0 0.0 43.28 274.97 66.249.66.133 www.example.com GET /wp/2005/01/ HTTP/1.1
19-1 408 1/834/1831 C 83.52 32463 0 14.8 149.66 263.48 66.249.66.133 www.example.com GET /wp/ HTTP/1.1
30-1 14416 0/430/431 W 35.19 13347 0 0.0 37.42 37.44 66.249.66.133 www.example.com GET /wp/category/issues/ HTTP/1.1
They are almost always on a single domain (there's about 100 on the server) that's a Wordpress site. These processes are also almost always a search engine.
On the rare case I see them running on other domains on the same server they're always on Wordpress sites.
The longer the processes run, the more processor/memory they use, the more they slow the server down.
It seems to have just started in the past few weeks, I've had the site there for a couple years.
I was trying to get Active Sync running on my Windows Server 2008 R2 to be able to sync calenders, adress-books etc. with my mobile without success. With a Linux Server ot seems to be "easy" changeable like posted here: [URL]...
Need getting Active Sync running on my Windows machine? According to the steps in the mentioned post, I failed very early
1. check
2. I changed the following files: =>
"C:inetpubvhostswebmailhordeconfigconf.php"
"C:ParallelsPleskWebmailhordehordeconfigconf.php"
"C:ParallelsPleskWebmailhordehordeconfigconf.php.plesk"
with the values: =>
$conf['auth']['admins'] = array(my mail account);
$conf['activesync']['enabled'] = true;
$conf['activesync']['version'] = '14.1';
3. Rewrite:
here the "problems" start, as of course I don't have the nginx option the question is, where to place the rewrite-rules best?
4. check
5. don't know what to do here, if it even is a problem with the max connections to the imap server?
6. I can restart the mailenable service ?
7. as I have admin rights in horde now, I could do step 7!
That's it? I can't use the active sync features ...
Is it possible to run WINDOWS + LINUX VPS Nodes using HYPER - V on WINDOWS 2008?
View 9 Replies View RelatedI've upgrade Apache to 2.4 and the CGI that worked under 2.2 are not working. Instead of executing the CGI, it just displays them.
View 2 Replies View RelatedI recently had to move my site from Linux to Windows hosting because I was adding an application that requires ASP.NET. The problem is the server that it uses (Windows iis) makes other parts of my site not work.
So my programer recommended using an Apache server with my Windows VPS (or hosting - I have no specific preference of either VPS or hosting) -
Does anyone know a hosting company that does this? Offers Windows hosting with an Apache server?
We currently have a dedicated development server with our company's host (not hostgator) in which we are charged a decent amount to have on a yearly basis. I was looking to cut down costs and wanted to see if it would be feasible to have a windows box we have in the office setup as our development server. We would install windows 2003 on it along with anything else we need. The current development server is hosted under a IIS 6 / Windows 2003 / CF 7 Environment. If it is doable, what kind of problems would we run into vs having it on a real server? It would only have at the most 3-4 connections possibly once or twice a week so speed is not a huge deal.
Also, how tedious is installing, setting up and migrating everything over for the MSSQL database going to be?
I have a php script that is scheduled to run once a day via the Windows task manager. My question is how can I tell it to run in the background so the dos window doesnt pop up? Right now the line in task manager to run it is:
c:phpcliphp.exe c:path ophpscript
All my sites, Cpanel and WHM are down, yet httpd is up and running. Any idea as to how I should go about troubleshooting this issue?
View 11 Replies View RelatedI've installed apache on my windows 2008 vps . It's run and when I browse localhost , it's works fine . But when I enter the vps ip address , it says Chrome could not connect to ... , I'm sure that httpd is running on port 80 (I checked it via netstat -ao and task manage ) ....
View 1 Replies View RelatedI'm not an admin, I can't make apache run cgi's, I have followed several documents in different pages without luck, I can run normal html pages but not cgi's. I only get the code displayed in screen.
View 1 Replies View RelatedI have small issue with load speed of pages when number of apache running processes goes over +-310, during peak traffic of day. IE: They load really slow.
Here's pic of what I mean:
=> [url]
Only thing that fixes it temporarily (at least until peak traffic ends) is to stop either httpd or mysql for several seconds, as everything cools down, then start it back up. Stop/starting mysql usually has longer terms temporary fix.
Anyway, would you have any ideas on what to configure or change within the system in order to keep the processes under 300?
The load is normal. Even at load 40, pages are blistering fast, as long as processes are under 300. So it's got nothing to do with load.
My server was running a cronjob backup, and my apache always fail
root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
I can only restart them on my CPanel WHM
Attempting to restart httpd
Waiting for httpd to restart.... . . . . . . . . . . finished.
httpd status
root 5805 0.8 0.9 21092 19504 ? S 22:39 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
root 1012 4.0 0.6 23348 13828 ? Ss 22:39 0:00 /usr/local/apache/bin/httpd -DSSL
httpd started ok
root@b# service httpd restart
/etc/init.d/httpd restart: httpd restarted
Code:
[root@serwer /]# httpd restart
/usr/sbin/httpd restart: httpd not running, trying to start
/usr/sbin/httpd restart: httpd could not be started
Code:
[root@serwer /]# httpd status
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile [url]
How do I configure Lighttpd to serve images/javascript/css files that are littered about my websites? Can I just input the paths of all the directories that I want Lighttpd to serve from?
For example, I have 4 separate websites with each having a message board, main page etc... Could I have lighty serve the files from:
/var/www/html/site1/images
/var/www/html/site2/images
/var/www/html/site3/images
/var/www/html/site4/images
/var/www/html/site1/javascript
etc....
and have Apache serve the files from all the other directories?
We run httpd-2.2.3 on CentOS 5.8 with caching enable. The server has been running for 4 years, but htcacheclean has never been run. The cache folder is about 10GB now (a "du" on the folder takes a very long time to complete). Should we expect any problem when running htcacheclean for a first time such as server slowing or freezing, ... Furthermore, in case of freezing, if we disable caching and restart the server, do we expect any problems? We did a few test on our test servers, and everything was fine, but our test servers do not have a large cache folder.
View 7 Replies View Relatedi installed wampserver on my remote windows VPS.i opened port 80.after that i try to connect it by typing "h t t p : / / remotelink" on my local machine browser.but i can not connect.
View 4 Replies View RelatedSo, here is my setup: a newly installed Windows Server 2012. The only software installed on it beyond the operating system is Apache 2.4.7 and PHP 2.4. The computer is in a LAN behind a router. The router tunnels port 80 to port 80 in this computer.
After I set up my website, everything was working perfectly: I could see the web pages from outside my LAN, PHP was executing, accesses were logged.
Then after a couple days, I could not open the pages from outside the LAN. From within the LAN, I could open them sometimes and sometimes they wouldn't.
Some facts:
From within the server itself, I can open all pages.
If I telnet to port 80 either from within the LAN or from outside, a few times the port would answer but wouldn't serve the GET request, while other times it just does not reply.
Netstat shows port 80 binded to httpd.exe.
If I make the router tunnel port 80 to another computer in the LAN, I can serve pages from this other computer, so it doesn't seem like the router is the problem.
The server does not answer to vpn connect attempts either. It does open connections to Remote Desktop, however, even from outside the LAN (both ports tunnelled by the router).
I have tried all this both with Windows Firewall activated and not activated. I have also checked the rules, and the only rule that mentions port 80 is the one for Apache, and is set to allow all.
No error messages are reported in Apache logs.
Restarting the server did not seem to make a difference.
I want to add a schedule task for run a script.
Path to executable file: C:Windowssystem32cscript.exe
Arguments Field: E:vhostsmysite.irhttpdocsschedule.vbs
But i get error:
Failed with error: 'C:Windowssystem32cscript.
exe ' is not recognized as an internal or external command, operable program or batch file.
I have been a web developer using PHP for years now, and my work laptop runs CentOS with PHP5 as an Apache Module. This suits me just fine for development, but now I want to setup a web server that runs PHP 4.4.8 and PHP 5.2.5 and offer hosting to people. I know PHP4 is very old, but I am looking to offer my users the freedom of choice, as there are still third party applications out there that may need to be run on PHP4.
I will want PHP 5 to be the default, and allow PHP 4 to be used if either the file extension is .php4, or they have a line in their .htaccess file. I have seen various tutorials in search engine results saying to run both, I can either do one of the following:
1. Install PHP5 as a module, and run PHP4 using FastCGI
2. Install PHP5 and PHP4 and run both using FastCGI
3. Install PHP4 as a module, and run PHP5 using FastCGI
In the future I will also be looking to support PHP6 once a stable version has been released, though that will probably be optional to begin with and require a line in the .htaccess file too - like PHP4. I will be using Apache 2.2.8 on CentOS 5.1. I am also looking to install Ruby on Rails and Django too, which I think use FastCGI.
What's the difference between running as an Apache Module, or using FastCGI? This will be for a shared hosting environment so performance over lots of connections, stability and security are my concerns. Should I run everything using FastCGI, if not, would the default PHP version be better off installed as an Apache Module?
I am trying to run a simple script which brings up a gnome terminal on the user's display. I have created a perl cgi script which calls a shell script using a system call. If I run the perl cgi script from the command line, it brings up the gnome terminal correctly. If I try running the perl cgi script via the Apache web server, I get the following error in /var/log/httpd/error_log:
View 2 Replies View RelatedI'm new to fcgid on Windows. my current set up is as follows;
Windows Server 2008
Apache 2.4.4
PHP 5.3.27 (fcgid)
MySQL 5.6.14
1. Looking at windows task manager, each of my processes have 4 threads each. What does this mean?
2. Does the number of FcgidMaxProcesses x memory_limit = Total amount of memory required?
3. Number of Threadsperchild = number of FcgidMaxProcesses ?
I just want to know how these two work together.
I have an Apache server running on a virtual machine and I want to be able to access the pages it serves from a browser running on the host OS.
I am using OracleVM virtualbox as my VM platform.
I am using windows 7 as my host OS.
I am using ubuntu as my guest OS.
I have managed to set up a virtual host so that it works from browsers running in the guest OS (ubuntu)
But I cannot get it to serve these pages to a browser running in the host OS windows.
The config file in the apache2/sites-available and apache2/sites-enabled has the following config for the virtual host I am trying to access.
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName testsite
DocumentRoot /var/newserver
<Directory />
Options FollowSymLinks
[Code] ....
What else do I have to do?
I don't understand.
Please see attached screen-shots.
[url]
[url]
[url]
[url]
generate crash dumps for apache 2.4.9 at the time freeze or crash in windows environment 2008 server R2.
View 2 Replies View Related