apache server
i am trying to set up a intranet. apache is locaded on the server
192.168.1.1 and i am trying to reach it from the client 192.168.1.2. i can ping from client to server and server to client using ip numbers. i can also call up the default apache page from the server. the only changes i have made to httpd.conf are: 1. ServerName 192.168.1.1 2. i added this code <Directory "/var/www/html"> Options Indexes Includes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> 3. Port *:80 i am only using ip addresses as i want to get this thing up in increments. any help would be appreciated. thanks jim s. |
Have you set your documentroot? Also does does your port line read
Code:
port *:80 Code:
port 80 Test your config with Code:
apachectl configtest If you document root is set and its set to /var/www/html then there's not need for the explicit Code:
<Directory "/var/www/html"> HTH Jamie... |
apache server (the sequel)
jamie;
thanks for the response. unfortunately.... 1. i changed the ServerName back to retro.duke.org 2. i changed the port to port 80 3. i tried to use apachectl configtest but the system couldn't find apachectl. am working on that. 4. i commented out the <Directory "/var/www/html" code when i try to access the server from the client using http://192.168.1.1 or retro.duke.org i get this from netscape 'netscape network connection was refused by the server 192.168.1.1 or retro.duke.org. the server may not be accepting connections or may be busy.' because this is my first shot at setting up a server, maybe i should tell you what i am doing (broadly) 1. /etc/rc.d/init.d/httpd start 2. /etc/rc.d/init.d/xinetd start both start [ok] i then bring up netscape on the client and try to access the server. can you see anything wrong or not done in the above? thanks jim s. |
You running httpd from xinet eh? Never seen someone do this before, most people just leave it running all the time, if you are trying to do this then you don't need to manually start httpd, as xinet will do it for you.
The best thing you can do is post your entire httpd.conf so that we can tell you where you're going astray. cheers Jamie... |
All times are GMT -5. The time now is 11:40 PM. |