Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Linux, Apache, MySQL > Apache Help

Apache Help Post any question relating to Apache here and hopefully someone can help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-04-23, 07:01 AM
Junior Member
 
Join Date: Apr 2006
Posts: 1
Gee Bee is on a distinguished road
Question 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!
Reply With Quote
  #2 (permalink)  
Old 2007-01-02, 06:34 PM
Junior Member
 
Join Date: Jan 2007
Location: Falticeni, Romania
Posts: 2
Preast is on a distinguished road
Default

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!
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.5 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.5 (a popular PHP IDE) and NuCoder 2.0 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:15 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.