LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-13-2003, 12:06 AM   #1
Kronos3
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

NameVirtualHost 192.168.2.102
<vitualHost 192.168.2.102>
ServerName digitalfingerprint.net
DocumentRoot /var/www/vdom/web-dfp
</VirtualHost>

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

FORBIDDEN

You do not have permission to access / on this server

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

Pls healp asap
 
Old 10-13-2003, 12:25 AM   #2
Kronos3
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
</Directory>

It worked... I am a genious =)
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:21 PM.

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