Results 1 to 17 of 17
Thread: apache problems
-
10-26-2003, 05:57 PM #1WHT Addict
- Join Date
- Oct 2003
- Posts
- 152
apache problems
umm i installed ttp://sourceforge.net/projects/webserv/ which is a combination of apache, mysql, php,ect on a windows server 2003. umm i set everything up to work with dyndns.org. when i went to my dns address, it worked fine and i tried localhost, it worked, and 127.0.0.1 all worked fine. but when i had my firends tested the address dey got an error message saying page not found or missing ect. what oculd be the problem
-
10-26-2003, 06:25 PM #2Web Hosting Master
- Join Date
- Jun 2003
- Location
- Janesville, Wi
- Posts
- 1,520
Check to make sure that in the config that it allows connections from all. It may be set to accept only from localhost access. Look for a ...
order allow,deny
allow from 127.0.0.1
deny from all
or something that resembles that. If it is like that, add some # before the lines and restart apache to see if that's the cause.
Edit: let me be more specific -- the config, that you should check in, should be httpd.conf.
-
10-26-2003, 07:20 PM #3WHT Addict
- Join Date
- Oct 2003
- Posts
- 152
i took your advice and changed settings to
<IfModule mod_status.c>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order allow,deny
#Deny from all
Allow from all
</Location>
</IfModule>
<IfModule mod_info.c>
<Location /server-info>
SetHandler server-info
Order allow,deny
#Deny from all
Allow from all
</Location>
</IfModule>
----------------------------
it still doesn't seem to work, do i have to change the virtual host? if so to what
-
10-26-2003, 07:22 PM #4Web Hosting Master
- Join Date
- Jun 2003
- Location
- Janesville, Wi
- Posts
- 1,520
Locate for the default <VirtualHost> that is where I think it would be. The mod_info and mod_status basically is for checking server stats. I suggest keeping those set to allow from localhost and deny from all; if you don't, anyone can check server info and status'.
-
10-26-2003, 07:34 PM #5Newbie
- Join Date
- Oct 2003
- Posts
- 19
Originally posted by skyxliner
i took your advice and changed settings to
<IfModule mod_status.c>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order allow,deny
#Deny from all
Allow from all
</Location>
</IfModule>
<IfModule mod_info.c>
<Location /server-info>
SetHandler server-info
Order allow,deny
#Deny from all
Allow from all
</Location>
</IfModule>
----------------------------
it still doesn't seem to work, do i have to change the virtual host? if so to what
-
10-26-2003, 07:38 PM #6Web Hosting Master
- Join Date
- Jun 2003
- Location
- Janesville, Wi
- Posts
- 1,520
Yeah, they can get all version info of the software on the server, all IP's of people connected to the server, including scripts that you may want to have to yourself that you access.
-
10-26-2003, 07:41 PM #7WHT Addict
- Join Date
- Oct 2003
- Posts
- 152
NameVirtualHost *
<VirtualHost [Ipaddress]>
DocumentRoot /www/docs/user.ath.cx
ServerName user.ath.cx
ServerAlias user
</VirtualHost>
do i use that?
i do'nt see any other places with the allow and deny except status. i installed from a package installer, should i just try installing from the installer from apache website?
-
10-26-2003, 07:42 PM #8Web Hosting Master
- Join Date
- Jun 2003
- Location
- Janesville, Wi
- Posts
- 1,520
Try pinging the server name from your computer.
-
10-26-2003, 07:46 PM #9WHT Addict
- Join Date
- Oct 2003
- Posts
- 152
i have two dns things that i'm testing whic is skyxliner.no-ip.com and skyxliner.ath.cx both leading to same ip. i pinged both address like "ping skyxliner.no-ip.com" and receive 0% loss which means it got through. for my router i used dmz on my server computer so ima guessing itz my setup files. i can't find a good doc to help config it. ima new to apache =X
-
10-26-2003, 07:48 PM #10Web Hosting Master
- Join Date
- Jun 2003
- Location
- Janesville, Wi
- Posts
- 1,520
Do you have a firewall running on your computer? If so, make sure that port 80 is accessable.
-
10-26-2003, 07:51 PM #11WHT Addict
- Join Date
- Oct 2003
- Posts
- 152
i have a file called httpd.default.conf should i be editing that isntead?
-
10-26-2003, 07:53 PM #12Web Hosting Master
- Join Date
- Jun 2003
- Location
- Janesville, Wi
- Posts
- 1,520
I doubt it; normally, apache comes with an example config file, that may be the example. Try editing it and add some bogus line somewhere, like ;kafjkadfkaj;f. If apache errors on restart, then that is the correct file to be editing.
-
10-26-2003, 07:56 PM #13WHT Addict
- Join Date
- Oct 2003
- Posts
- 152
i think i may know the cause of the problem. i suppose there is a difference from the original apache files. the package installer webserv must replaced their files with original apache files. and renamed the original file (the one i was suppose to be editing) into httpd.default.conf. is this a possiblity?
-
10-26-2003, 07:57 PM #14Web Hosting Master
- Join Date
- Jun 2003
- Location
- Janesville, Wi
- Posts
- 1,520
Well, add fake lines to httpd.default.conf and restart apache. If apache errors out, remove the lines and try again with restarting. If it works this time, then that is the file to be editing.
-
10-26-2003, 07:59 PM #15WHT Addict
- Join Date
- Oct 2003
- Posts
- 152
yea ur right, the default file was just a duplicate with loads of instructions
-
10-26-2003, 08:07 PM #16WHT Addict
- Join Date
- Oct 2003
- Posts
- 152
ServerName localhost:80
skyxliner.ath.cx
then?
ServerName skyliner:80?
-
10-26-2003, 08:08 PM #17Web Hosting Master
- Join Date
- Jun 2003
- Location
- Janesville, Wi
- Posts
- 1,520
To make it skyxliner.ath.cx
ServerName skyxliner.ath.cx
To make www.skyxliner.ath.cx work, add beneath that
ServerAlias www.skyxliner.ath.cx