Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Virtual Host error 403
Google
Post new topic Reply to topic
Author Message
libra01
 
 


Joined: 29 Jun 2006
Posts: 3

PostPosted: Fri Jun 30, 2006 5:57 am Reply with quoteBack to top

Hi. I have problem with my Virtual Host Configuration.
The Code it's like :
Code:
NameVirtualHost *

<VirtualHost 192.168.100.52:80>
    ServerAdmin admin@localhost
    DocumentRoot e:/web/
    ServerName www.oye.com
    ServerAlias oye.com
    DirectoryIndex index.html index.php index.htm index.php3
    ErrorLog c:/apache2triad/logs/oye-error-logs.log
    CustomLog c:/apache2triad/logs/oye-access-log.log combined
</VirtualHost>


and when I open my ie the result is :
Code:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

Error 403
www.oye.com
06/30/06 12:52:09
Apache/2.2.0 (Win32) PHP/5.1.2
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Fri Jun 30, 2006 8:00 am Reply with quoteBack to top

Code:
<Directory "e:/web">
AllowOverride All
Options Indexes
</Directory>
View user's profileSend private message
libra01
 
 


Joined: 29 Jun 2006
Posts: 3

PostPosted: Fri Jun 30, 2006 10:08 am Reply with quoteBack to top

Thanks it's work Wink

But I want to modify the directory from "E\web" to "E:\Libra Data\Libra Site\Oye\"
code :
Code:

NameVirtualHost *

<VirtualHost 192.168.100.52:80>
    ServerAdmin admin@localhost
    DocumentRoot E:/LIBRAD~1/LIBRAS~1/WEB/OYE/
    ServerName www.oye.com
    ServerAlias oye.com
    DirectoryIndex index.html index.php index.htm index.php3
    ErrorLog c:/apache2triad/logs/oye-error-logs.log
    CustomLog c:/apache2triad/logs/oye-access-log.log combined
</VirtualHost>

<Directory "E:/LIBRAD~1/LIBRAS~1/WEB/OYE">
AllowOverride All
Options Indexes
</Directory>



Still The Result in My Browser is :
Code:

Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

Error 403
www.oye.com
06/30/06 16:55:35
Apache/2.2.0 (Win32) PHP/5.1.2


The configuration work perfect with apache2triad 1.1.2
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Sat Jul 01, 2006 2:03 pm Reply with quoteBack to top

Just a note, you don't have to use the old style 8.3 naming format
"E:/LIBRAD~1/LIBRAS~1/WEB/OYE"
you can use
"E:/Libra Data/Libra Site/Oye"
just remember to use quotes if there is any whitespace in the pathway.
View user's profileSend private messageYahoo MessengerICQ Number
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT