httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <jg6...@cox.net>
Subject Re: [users@httpd] Question
Date Mon, 29 Sep 2008 14:04:57 GMT
This...
Alias /music "d:/my music"
<directory "d:/my music">
  Order allow,deny
  Allow from all
</directory>
...Doesnt work. Does it have to be somehwere special in the config file? 
stopped and restarted apache to refresh config file.

furthermore the link path upon clicking shows file:///D:/My Music rather 
than http://localhost/D:/My Music

----- Original Message ----- 
From: "Eric Covener" <covener@gmail.com>
To: <users@httpd.apache.org>
Sent: Monday, September 29, 2008 4:29 AM
Subject: Re: [users@httpd] Question


> On Sun, Sep 28, 2008 at 8:41 PM,  <jg6789@cox.net> wrote:
>> [error] [client 127.0.0.1] (20023)The given path was above the root path:
>> Cannot map GET /D:/My%20Videos HTTP/1.1 to file, referer: 
>> http://localhost/
>>
>> I read all Alias Instructions in manual. not clear to me.
>>
>> How do I add an alias and/or add a directory block that will work?
>>
>> Here is what I am trying to do:
>> in the index.html file in C:/xampp/htdocs...I am trying to hyperlink like
>> this <a href="D:/My Music">Music</a>
>>
>
> Alias /music "d:/my music"
> <directory "d:/my music">
>    Order allow,deny
>    Allow from all
> </directory>
>
> -- 
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> 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
>


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



No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.7.5/1696 - Release Date: 9/28/2008 
1:30 PM


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


Mime
View raw message