LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-02-2003, 02:58 PM   #1
albertos
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
apache + dns + vhosts


i run mdk 9.1 and this is my question:

my servers name is:

elena.albertos.gr at: 10.0.0.1
so in my /etc/hosts is: 10.0.0.1 elena|albertos|gr elena

my named seems ok.

but... i have 3 alias... www|albertos|gr --> elena|albertos|gr
ftp|albertos|gr--> elena|albertos|gr

there is the prob now. when i give apache elena|albertos|gr, all is ok, but when i give www|albertos|gr i get not found (404).

further more, when i set a vhost (eg. cem|albertos|gr --> 10.0.0.1 and in Vhosts.conf is:

<VirtualHost *>
ServerName cem|albertos|gr
DocumentRoot /home/cem
<Directory /home/cem>
Allow From All
</Directory>
</VirtualHost> )

nothing is working... i get (exept 404 for www|albertos|gr), forbiden 403 for elena|albertos|gr and 403 for cem|albertos|gr

pls if anyone can help me out here... i'm cinda stuck... my brain is totaly f**** upped.

thanks in advance.

PS. all . in names are replaced with |, since forum doesnt let me post urls (!!! :-| )
 
Old 08-03-2003, 07:03 PM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
I believe you will need a public_html/ in /home/cem and /home/elena where you will serve web pages from.
 
  


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
Help with Vhosts in apache please. GEEF Linux - Software 2 10-29-2004 07:18 PM
vhosts for IRC->IPs->DNS? question Belize Linux - Networking 1 01-24-2004 11:05 AM
apache 2.0.44 vhosts sqn Slackware 4 06-19-2003 12:54 AM
Vhosts on RH 8.0 - Apache 2.0.40 Drogo Linux - Software 5 02-06-2003 11:28 PM
Will Httpd vhosts work with anothers DNS? paradoxlight Linux - General 1 02-02-2002 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:35 AM.

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