Jump to content

Apache help...


stimp

Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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....

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.