Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-07-2004, 08:19 PM   #1
kemp
Confirmed User
 
Join Date: Feb 2001
Location: Utopia
Posts: 392
Alias directory in Apache - anyone know how to fix...

I set up an Alias directory on my server.

http://fatsluts.info/recips/

But for some reason if you click on any of the files or folders the server says "Not Found"

I set the permissions of the directory to 755 and the files to 644 like the rest of my server is set up but alas - no luck.

Here is the alias I set up (in httpd.conf):

Alias /recips/ "/usr/www/NAME/zrecips"

<Directory "/usr/www/NAME/zrecips">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Am I missing something?

Last edited by kemp; 12-07-2004 at 08:20 PM..
kemp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2004, 08:20 PM   #2
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,283
why dont you just setup a symbolic link
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2004, 08:20 PM   #3
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,283
alias is not a command in apache config, you are thinking about ScriptAlias
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2004, 08:26 PM   #4
kemp
Confirmed User
 
Join Date: Feb 2001
Location: Utopia
Posts: 392
Symbolic link - Is that what the "FollowSymLinks" option is?

I thought it was something unrelated. That could be the fix. I'll try it fris - thanks.
kemp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2004, 08:32 PM   #5
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,283
from console ln -s source dest

ln -s /usr/www/NAME/zrecips /home/kemp/recips

or whatever
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2004, 08:45 PM   #6
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,017
Quote:
Originally posted by fris
alias is not a command in apache config, you are thinking about ScriptAlias
Wtf?

I use "Alias" for tons of stuff.

http://httpd.apache.org/docs/mod/mod_alias.html

If you don't know for sure, why post anyway?
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2004, 08:47 PM   #7
Quickdraw
Confirmed User
 
Join Date: Mar 2004
Location: → → →
Posts: 1,717
Try it without the quotes and slash after recipshahahaha
Should be no need for symbolic linking with this
(I don't even use the other part you have and it works great)

Alias /recips /usr/www/NAME/zrecips
Quickdraw is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2004, 09:14 PM   #8
Intrigue
Confirmed User
 
Join Date: Feb 2004
Location: Ohio, US
Posts: 662
it's most likely a problem with the trailing slash, either get rid of it in your alias or add it to the directory def.
Intrigue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2004, 09:21 PM   #9
kemp
Confirmed User
 
Join Date: Feb 2001
Location: Utopia
Posts: 392
Intrigue - you got it. It was a problem with the trailing slash.

Thanks for the tip!
kemp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-08-2004, 03:02 AM   #10
Intrigue
Confirmed User
 
Join Date: Feb 2004
Location: Ohio, US
Posts: 662
Quote:
Originally posted by kemp
Intrigue - you got it. It was a problem with the trailing slash.

Thanks for the tip!
np
Intrigue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.