LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 02-22-2004, 10:25 PM   #1
noripcord7
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Virtual Hosts with Apache


I've done this whole thing before, but it was so long ago that I forget exactly how it goes.

NameVirutalHost wool-cat.ath.cx:80

<VirtualHost wool-cat.ath.cx:80>
ServerName video.wool-cat.ath.cx
DocumentRoot "/mnt/windows/Dan/Video"
<Directory "/mnt/windows/Dan/Video">
AllowOverride All
Options All
</Directory>
</VirtualHost>

I'm trying to create "video.wool-cat.ath.cx" that points to /mnt/windows/Dan/Video but when I enter "wool-cat.ath.cx" into the browser, it brings up my video directory, instead of the document root specified earlier in the config file. "video.wool-cat.ath.cx" is not found by the browser.

Help before I go insane.

Thanks.
 
Old 02-22-2004, 10:33 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
try <Directory /> instead of what you have.

Directory commands assume you are starting with the Document Root.
 
  


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
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
Apache/Virtual Hosts Help C-Squared Linux - General 9 08-04-2003 12:45 PM
Apache Virtual Hosts (again) scatcat Linux - General 1 10-17-2002 09:51 AM
Apache: Virtual hosts pk21 Linux - Software 15 10-08-2002 05:08 PM
apache virtual hosts jonfa Linux - General 1 06-04-2002 01:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 10:03 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