Re: Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

with that config lines you just need to access http://yourhost/music




jg6789@xxxxxxx wrote:
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@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Monday, September 29, 2008 4:29 AM
Subject: Re:  Question


On Sun, Sep 28, 2008 at 8:41 PM,  <jg6789@xxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



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



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux