View unanswered posts | View active topics It is currently Thu Jun 30, 2022 12:04 pm



Reply to topic  [ 2 posts ] 
 Virtual Hosts Error 403 
Author Message
Junior Member

Joined: Sun Apr 23, 2006 4:56 am
Posts: 1
Post Virtual Hosts Error 403
Hi,

Im totally new to setting up apache like this so please forgive any "obvious" questions or errors!

I downloaded and installed apache2 and mysql using XAMPP on a windows XP Pro machine (yes, i hear all the groans out there!!!) for a php development enviroment. I then edited my windows hosts file and added 127.0.0.1 mySite.dev

I then open the httpd-vhosts file, uncommented the NameVirtualHost *.80 line and added the following as a virtual host,

<VirtualHost *:80>
DocumentRoot "C:/websites/mySite.dev/publish"
ServerName mySite.dev
</VirtualHost>

Then restared apache, however now whenever i try http://mySite.dev or http://localhost i get the 403 error. What am i doing wrong/omitting?

Any help would be met with masses of gratitude!


Sun Apr 23, 2006 5:01 am
Report this post
Profile
Junior Member

Joined: Tue Jan 02, 2007 4:48 pm
Posts: 2
Location: Falticeni, Romania
Post 
I had the same problem, but solved it like this:
Code:
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Allow from all             ## Changed this from "Deny from all" ##
    Satisfy all
</Directory>

Hope it helped you!


Tue Jan 02, 2007 5:34 pm
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.