Current Page: 1 of 1
Results 1 - 17 of 17
17 years ago
trashy
I had virtual hosting set up and working for several months, and this morning I discovered that going to my main IP address was redirecting straight to one of my web sites, which I did not want. So I started making changes to my httpd.conf and now all my sites redirect to the main /www directory! Here is my current code - what is wrong? <VirtualHost *:80> DocumentRoot "c:/wamp/w
Forum: WampServer English
17 years ago
trashy
I just thought I would mention that it was I, trashy, who started this thread, not Mr. BinarySpiral.......... and I may need more support in the future! )
Forum: WampServer English
17 years ago
trashy
GOT IT! added the following two lines to httpd.conf LoadModule php5_module c:/wamp/php/php5apache2.dll AddType application/x-httpd-php .php site is up now for trying to remember my mysql root password LOL
Forum: WampServer English
17 years ago
trashy
thanks, but I had already tried that (after looking through the code on that page) Still get just php code, no web page...even the phpmyadmin page does it........ This is getting very frustrating, and my site has been down WAY too long.............. ( Post Edited (11-24-06 13:33)
Forum: WampServer English
17 years ago
trashy
If you forward port 80 to your PC's internal ip address (192.168.1.x usually) then have a web server running on that machine you should at least get a blank page if nothing else from the web server..... I'm getting a timeout, not even getting to your router.........
Forum: WampServer English
17 years ago
trashy
sorry, I don't see any difference in the two lines you mentioned...........they look like exact duplicates! Am I missing something?
Forum: WampServer English
17 years ago
trashy
<?php //v1.0 by Romain Bourdon $httpdfile = "../apache2/conf/httpd.conf"; $wampinifile = "../wampserver.ini"; $online_txt = "# onlineoffline tag - don't remove Order Allow,Deny Allow from all"; $offline_txt = "# onlineoffline tag - don't remove Order Deny,Allow Deny from all Allow from 127.0.0.1"; $myhttpd = @file_get
Forum: WampServer English
17 years ago
trashy
I'm assuming they used Port 80 to allow usage of Skype at businesses which typically block most ports. If anything is open, it's usually 80.' That's my guess any way.
Forum: WampServer English
17 years ago
trashy
sure, um................which code?
Forum: WampServer English
17 years ago
trashy
You can see this in action here: [24.32.18.217] The code you see is the index.php file from a virtual host subdirectory. (at least I know my virtual host is set up right in httpd.conf) Why is my PHP not working? It was working just fine a couple of days ago............. This is from the PHP error log: [22-Nov-2006 23:56:07] PHP Warning: fclose(): supplied argument is not a valid
Forum: WampServer English
17 years ago
trashy
I'm no expert, but it looks like something is already listening on port 80 run this from a command line: netstat -a -n Results will look something like this: Proto Local Address Foreign Address State TCP 0.0.0.0:80 0.0.0.0:0 LISTENING If you see port 80 already there then something is already listening on that port - usually a server like apache o
Forum: WampServer English
17 years ago
trashy
I am getting a similar error with that same 'onlineoffline.php' file, but I have never installed easyphp. Also, I had my installation running fine, then reinstalled WAMP. Now when I attempt to access php pages I just see the code. My error log contains this: [22-Nov-2006 23:56:07] PHP Warning: fclose(): supplied argument is not a valid stream resource in C:\wamp\scripts\onlineoffline.php o
Forum: WampServer English
17 years ago
trashy
binaryspiral, Thanks for the assist. I finally got the httpd.conf tweaked so apache is back up and running, but now I have other issues. I'll start a new thread if I can't find an answer here...
Forum: WampServer English
17 years ago
trashy
try removing the quotes from the path - evidently not required unless you have a directory with spaces....
Forum: WampServer English
17 years ago
trashy
OK, evidently when I reinstalled the default httpd.conf needed to be re-customized. If you want to find out what error is stopping Apache, just run it from the command line - it will give you the line number in httpd.conf and a brief description. After tweaking this file my server service is running again, but every time I try to add the virtual hosting section the services crashes again.
Forum: WampServer English
17 years ago
trashy
as I said - I already had this running before! Yes, I have full admin priveleges on this box...
Forum: WampServer English
17 years ago
trashy
I had my Apache server up and running for about a day, now I can't install the service, even though it finds nothing on port 80 and no other server software is running. I just reinstalled the entire WAMP package and it still won't run. HELP! Win XP - no modifications to httpd.conf -
Forum: WampServer English
Current Page: 1 of 1