General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 27th, 2003, 11:33 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Angry Adding Directories Outside The DocRoot!

ok i've been trying to add directories hosted outside my docroot in apache, but no luck, i have files on drive X:/ and on that particular drive, is car movies.

i want to be able to add the x:/ to my directories so when i type in the extention http://mysite/carvideos/ it will pull it up instead of giving me page not found error.

i've read the apache add direcotories and so forth and it's all over my head, so if someone who's actually done this be kind enough to help a lost man out.

thanks in advance
__________________
Apache Expert

Reply With Quote
  #2  
Old February 28th, 2003, 03:10 AM
laidbak laidbak is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Location: In Tha IE -- San Bernardino COUNTY
Posts: 788 laidbak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 4 m 2 sec
Reputation Power: 7
Send a message via ICQ to laidbak Send a message via AIM to laidbak Send a message via MSN to laidbak Send a message via Yahoo to laidbak
Add this to either .htaccess, or to httpd.conf


Alias /carvideos/ "x:/car movies"

<Directory "X:/car movies">
Options -FollowSymLinks -SymLinksIfOwnerMatch -Indexes
Order deny,allow
deny from all
allow from all
</Directory>
__________________
__________________________________________________ _
Wil Moore III, MCP | Integrations Specialist | Senior Consultant
Are You Listed...? | DigitallySmooth Inc.

Reply With Quote
  #3  
Old February 28th, 2003, 03:49 AM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Unhappy

Quote:
Originally posted by laidbak
Add this to either .htaccess, or to httpd.conf


Alias /carvideos/ "x:/car movies"

<Directory "X:/car movies">
Options -FollowSymLinks -SymLinksIfOwnerMatch -Indexes
Order deny,allow
deny from all
allow from all
</Directory>



where in the httpd.conf does this go. do i need to add something to the htaccess file as well? also i'm on a windows 2000 machine.

i added it to my htacess file and i am now getting forbidden you don't have access to this file on the server, what gives, i thought i fixed everything right, but i guess not.

Last edited by asp_man : February 28th, 2003 at 04:43 AM.

Reply With Quote
  #4  
Old February 28th, 2003, 10:45 AM
laidbak laidbak is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Location: In Tha IE -- San Bernardino COUNTY
Posts: 788 laidbak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 4 m 2 sec
Reputation Power: 7
Send a message via ICQ to laidbak Send a message via AIM to laidbak Send a message via MSN to laidbak Send a message via Yahoo to laidbak
Just use the httpd.conf file then.
search for "Alias /" and put your lines near that one.

Reply With Quote
  #5  
Old February 28th, 2003, 11:31 AM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Thumbs up

Quote:
Originally posted by laidbak
Just use the httpd.conf file then.
search for "Alias /" and put your lines near that one.


thanks for the help it worked like a charm again thanks for the help man

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Adding Directories Outside The DocRoot!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway