LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 01-24-2006, 06:28 AM   #1
Sapient
Member
 
Registered: Oct 2003
Location: San Luis Obispo, CA
Distribution: SuSE
Posts: 196

Rep: Reputation: 30
ln -s or virtual host?


I have decided to ask this question here also since it may cross lines.

Simple question. I am trying to do this:

ln -s http://www.hingedmind.com/squirrelma.../src/index.php mindmail

No matter what permissions I set for index.php (777 root:root) When I try http://www.hingedmind.com/mailmind/

I get:

Forbidden

You don't have permission to access /mindmail/ on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

-------------

I am not looking for a short-cut. I am looking for a link so that my mail users do not have to type the actual path.

i.e. http://www.hingedmind.com/squirrelma.../src/login.php ---> http://www.hingedmind.com/mindmail


----------

Could this be handle through virtual hosting? If so..... how?
 
Old 01-24-2006, 06:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
you're trying to use ln to create a symbolic link to a webpage?!?!? i hope that's a metaphorical example or something... if so.. say so. it's not useful saying things so explicitly like that if it's a joke. very confusing.

if this just 100% apache, you would be better using a redirect i think, just a meta-refresh in a webpage. alternatively you can use an Alias entry, e.g. "Alias /webmail /var/www/html/one/two/three/webmail"
 
Old 01-24-2006, 07:46 AM   #3
Sapient
Member
 
Registered: Oct 2003
Location: San Luis Obispo, CA
Distribution: SuSE
Posts: 196

Original Poster
Rep: Reputation: 30
Apache - Alias directive

What am I doing wrong here?

I simply want to go here http://www.hingedmind.com/folder/mail/login.php ---> when this is typed http://www.hingedmind.com/webmail



Alias /webmail "/srv/www/htdocs/hingedmind/folder/mail/"
<Directory "/srv/www/htdocs/hingedmind/folder/mail">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.php
</Directory>
 
Old 01-24-2006, 07:57 AM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Continue this here.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 User directive merchtemeagle Linux - Software 2 03-07-2005 03:42 PM
Apache DirectorySlash directive doesn't seem to be working SeniorSE Linux - Newbie 2 11-16-2004 10:52 PM
"modprobe config already contains alias directive", must reconfigure at restart Desert Linux - Wireless Networking 1 07-22-2004 07:43 PM
Apache Directive sopiaz57 Linux - Security 2 12-09-2003 01:32 PM
Alias directive in Apache 1.3.22 mswebs Linux - Networking 2 08-01-2003 02:09 PM

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

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