WampServer2.0a
Posted by: Archigos (---.stny.res.rr.com)
Date: December 05, 2007 05:46AM

I install WampServer 2 on an XP Tablet SP2 system. I was having an issue with getting a 403 Error on localhost. I uninstalled the software and reinstalled which fixed that problem, but I need to move the DocumentRoot from /wamp/www/ to another directory. I opened the Systray icon and clicked the option for httpd.conf under Apache and changed the documentroot in there, then restarted all services. Went to localhost it just said I don't have permission for "/", so I changed it back and the WampServer index came back up correctly. I changed it once again to the other directory (thinking it was a typo) and now I get "HTTP 403 (Forbidden)".

Any suggestions?

(Original httpd)
DocumentRoot "c:/wamp/www/"
(Modified httpd)
DocumentRoot "c:/SubstDrives/htdocs/"

Options: ReplyQuote
Re: WampServer2.0a
Posted by: yfastud (Moderator)
Date: December 05, 2007 05:50AM

Make sure to change it in 2 places in that file

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: WampServer2.0a
Posted by: Archigos (---.stny.res.rr.com)
Date: December 05, 2007 05:57AM

I noticed the second location after making this post, and changed it there too. Now it shows a directory list (since I have multiple folders there and no index file) but it's got some missing icons and when I go to run some of my php files it just gets a blank screen. They worked fine in my old copy of Wamp and they work fine on my production server, just not on localhost.

Options: ReplyQuote
Re: WampServer2.0a
Posted by: yfastud (Moderator)
Date: December 05, 2007 06:05AM

To fix icons, open file httpd-autoindex.conf in C:\wamp\bin\apache\apache2.2.6\conf\extra and find this location

C:/Program Files/Apache Software Foundation/Apache2.2/icons/

And replace with:

C:/wamp/bin/apache/apache2.2.6/icons/

Blank page is cause from some vary issue, 1of them is the php tag, so if you didn't enable short_open_tag in php.ini, make sure to use full tag <?php ... ?>

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: WampServer2.0a
Posted by: Archigos (---.stny.res.rr.com)
Date: December 05, 2007 06:41AM

Thanks, that solved the rest of my problems.

Options: ReplyQuote
Re: WampServer2.0a
Posted by: yfastud (Moderator)
Date: December 05, 2007 07:16AM


Options: ReplyQuote


Sorry, only registered users may post in this forum.