httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Web access to pages:
Date Sat, 22 May 2004 19:02:47 GMT

On Sat, 22 May 2004, PINNI, BALANAND (SBCSI) wrote:
> I want to access text files over web so I have installed HTTP . And set
> Alias directive in httpd.conf  that has <Directory
> "/usr/HTTPServer/htdocs/en_US" root directory .And all is picked up from
> root dir ectory to view over web. But I want to view test files from
> /home/user ???How to do that?
>
>
> Alias  /usr/HTTPServer/htdocs/en_US  /home/user
> <Directory /home/bp3965>
> Order allow,deny
> Allow from all
> </Directory>

Looks like your web-path file-path idea is backward here.  The first
argument to Alias is the web-path: the path that will be typed into the
user's browser.  The second argument is the file-path: the path according
your OS filesystem.  And <Directory> also takes a file-path, not a
web-path.  So reverse the /usr/... and /home/... paths and see if that
works.

Joshua.

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