stimp Posted June 11, 2008 Share Posted June 11, 2008 I'm using XP, want to serve files online I'm having trouble with the httpd.conf file "I think".. I have made a folder, unchecked hide extensions in options, I made a simple index.html file that said hello.. now in the httpd.conf file I set DocumentRoot "C:\Web" and <Directory "C:\Web"> when I open browser all I see is It works! ?? I opened a port on my router 8000 and set Listen 8000 in httpd.conf file What am I missing? HALP! Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted June 11, 2008 Share Posted June 11, 2008 Have you restarted Apache? Apache must be restarted in order for the changes in the httpd.conf to come into effect. Also you pust append the port number too on to your computers address eg: http://your-computers-ip-address:8000 example: http://192.168.2.1:8000 If you don't provide the port number then the default poit used will be port 80. Quote Link to comment Share on other sites More sharing options...
stimp Posted June 11, 2008 Author Share Posted June 11, 2008 yes i've restarted apache, and I tried the address with :8000 and 80 (I set it to 8000) still nothing. I tried starting over by uninstalling apache and reinstalling it but the file (httpd.conf) is still configured to what I set.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.