Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


Closed Thread
  Search this Thread
Old 01-24-2006, 07:28 AM   #1
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 mindmail

No matter what permissions I set for index.php (777 root:root) When I try

I get:


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. --->


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

Rep: Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971
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, 08:46 AM   #3
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 ---> when this is typed

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
Old 01-24-2006, 08:57 AM   #4
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
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.

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

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration