You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Broun Emmanuel <be...@yahoo.co.uk> on 2006/05/05 10:21:22 UTC
[users@httpd] Directory Aliases Or Virtual
Hello
Am a newbie, doing research for instantiating models accross the internet. I installed Apache 2.05 but am failing to configure it for aliases, which i can do easily with IIS
I want to be able to access different folders, other than the DocumentRoot but i wrote this but it doesnt work.
Alias /SRC "/TUMWESIGYE RESEARCH/SRC/">
<Directory "/TUMWESIGYE RESEARCH/SRC/">
Options Indexes +FollowSymLinks
AllowOverride none
Order deny,allow
Allow from all
</Directory>
I thought that by using http://localhost/src i would access the webpages in this alias
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Directory Aliases Or Virtual
Posted by "Neil A. Hillard" <hi...@whl.co.uk>.
Hi,
Broun Emmanuel wrote:
> Hello
> Am a newbie, doing research for instantiating models accross the internet. I installed Apache 2.05 but am failing to configure it for aliases, which i can do easily with IIS
> I want to be able to access different folders, other than the DocumentRoot but i wrote this but it doesnt work.
> Alias /SRC "/TUMWESIGYE RESEARCH/SRC/">
> <Directory "/TUMWESIGYE RESEARCH/SRC/">
> Options Indexes +FollowSymLinks
> AllowOverride none
> Order deny,allow
> Allow from all
> </Directory>
>
> I thought that by using http://localhost/src i would access the webpages in this alias
Bear in mind that src and SRC are two completely different things. That
may not be the problem if you've munged the above configuration. If not
then check error.log and post the relevant entries if it's not obvious
what's wrong.
HTH,
Neil.
--
Neil Hillard hillardn@whl.co.uk
Westland Helicopters Ltd. http://www.whl.co.uk/
Disclaimer: This message does not necessarily reflect the
views of Westland Helicopters Ltd.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Directory Aliases Or Virtual
Posted by Bodo Eing <ei...@uni-muenster.de>.
Broun Emmanuel wrote:
> Hello
> Am a newbie, doing research for instantiating models accross the internet. I installed Apache 2.05 but am failing to configure it for aliases, which i can do easily with IIS
> I want to be able to access different folders, other than the DocumentRoot but i wrote this but it doesnt work.
> Alias /SRC "/TUMWESIGYE RESEARCH/SRC/">
Try
Alias /SRC/ "/TUMWESIGYE RESEARCH/SRC/"
^
From default httpd.conf:
# Aliases: Add here as many aliases as you need (with no limit). The
format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
> <Directory "/TUMWESIGYE RESEARCH/SRC/">
> Options Indexes +FollowSymLinks
> AllowOverride none
> Order deny,allow
> Allow from all
> </Directory>
>
> I thought that by using http://localhost/src i would access the webpages in this alias
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Regards
Bodo
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org