You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mathias Alt <Ma...@gmx.net> on 2003/06/05 14:35:11 UTC

[users@httpd] alias error: File does not exist: N:/Web/html/cgi

Hello,
I have a problem executing my perl-scripts:

If I want to link to the path /ndsuser/cgi/archiv/menue2.pl 
I get the error : File does not exist: N:/Web/html/cgi

Here are the relevant parts of the http.conf:

DocumentRoot "n:/Welcome/html/"

Alias /ndsuser/ "n:/Web/html/"
<Directory "n:/Web/html/">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /ndsuser/cgi/ "n:/web/perl-cgi/"
<Directory "n:/web/perl-cgi/">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

~~~~~~~~~~~~~~~~~~~~~~~~~~~

Any idea?

Thanks in advance

mathias

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


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


[users@httpd] Re: alias error: File does not exist: N:/Web/html/cgi

Posted by Omer Shenker <ma...@omershenker.net>.
On 05 June 2003 at 07:35 Mathias Alt wrote:
> Alias /ndsuser/ "n:/Web/html/"
> <Directory "n:/Web/html/">
>     Options Indexes FollowSymLinks
>     AllowOverride None
>     Order allow,deny
>     Allow from all
> </Directory>
> 
> ScriptAlias /ndsuser/cgi/ "n:/web/perl-cgi/"
> <Directory "n:/web/perl-cgi/">
>     AllowOverride None
>     Options None
>     Order allow,deny
>     Allow from all
> </Directory>

Try changing the order of these two blocks. I think what's happening is that
Apache is finding a match for the first one, so it never gets to seeing the
second one for that request.

-- 
Omer Shenker                          http://omershenker.net/



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