Local redirects with Apache2 (Win32)

Glaanieboy

OSNN Veteran Addict
Joined
6 Mar 2002
Messages
2,628
I had once installed Windows 2000 with IIS5. I formatted the lot because it became sluggish, but leaving my inetpub folder alone (which are installed on a secondary partition). I installed Windows XP Pro instead, but installed Apache 2.0 with it. Now I want Apache to redirect to the E:\inetpub\wwwroot folder, instead of the C:\apache2\htdocs folder, when someone types in my IP-address (I am on a local network). I just can't make out what to change in the httpd.conf file, the manual isn't much help either (for me), it's a little bit too difficult where to search.
 
In Apache 1 its the "DocumentRoot" line in httpd.conf (line 322 on mine), don't know if its the same for Apache 2
 
Yeah found that too, but it was very confusing. I will try that when I am back at school tomorrow.
 
I have f00ked the httpd.conf file up 4 times now, but I still can't get it to work. I looked at the Apache Manual, searched on google, tried everything that is within my power. Help me!
 
OK, I found out I had to use "Alias /download D:/inetpub/wwwroot" to allow users to connect to http://<ip>/download. Phew.
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back