Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-13-2003, 12:06 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
MD9.1 - Apache 2.0 - Can't access a virtual host

Ok, here is the problem. I am updating my server and I Installed a freah instalation of Mandrake 9.1

In Apache 2.0, I added to my Vhosts.conf file the following

DocumentRoot /var/www/vdom/web-dfp

I choded /var/www/vdom/web-dfp 777

#chomd -R 777 /var/www/vdom/web-dfp
(also tried 755, still not working)

When I got oa ccess the page, i get


You do not have permission to access / on this server

So what am I doing wrong?
I can access hxxp:// no problem, but I cannot access a virtual host.

Pls healp asap
Old 10-13-2003, 12:25 AM   #2
LQ Newbie
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I hate answering my own questions.

For those with similar problems, her is the fix.

In your httpd2.conf file (in madrake its located in /etc/httpd/conf)
Put the following (not exactly, the example pertains to my problem)

<Directory /var/www/vdom>
ALLOW from all

It worked... I am a genious =)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache, virtual host, access problem ivanatora Linux - Software 2 04-05-2005 04:39 AM
Apache 2 Virtual host eckertc1 Linux - Software 6 03-22-2005 09:58 PM
Apache 2.0 Virtual Host? w0lfeyes Linux - Networking 1 05-03-2004 03:09 PM
Access Virtual host by IP mikeshn Linux - Networking 2 01-10-2004 10:25 AM
Virtual host and apache Samspeed Linux - General 8 08-06-2003 07:41 AM

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration