No Alias or Virtual Path Support
Brought to you by:
nsushkin
See: http://sourceforge.net/forum/message.php?
msg_id=2155973
Logged In: YES
user_id=6449
From the message:
There should really be support for aliases and virtual paths. For
example on my Apache server "/doc/" points to "/usr/doc/".
I've modified my copy of the script accordingly, but there should
be a standard way of doing it.
It is not a common practice for people to allow access to fullpath
locations on a web server like the script assumes.
Hope this helps,
Logged In: YES
user_id=135025
Can you describe a configuration that gives you a problem in
more detail? Thanks.
Logged In: YES
user_id=216797
As I explained in my first message, a standard Apache
configuration will usually include:
Alias /doc/ /usr/doc/
The script incorrectly assumes that the physical location of
the files to index (in this case "/usr/doc") is the same on the
web server.
I should be able to index the files located in "/usr/doc/xxx/"
but have the script refers to them on the script-generated
web pages using URLs starting with "/doc/xxx/".
The script should take into consideration the physical location
of the files, as well as their (virtual) web location, as they will
most likely differ.
Hope this helps,
E.
Logged In: YES
user_id=135025
I've checked in a new revision (1.10) of the script that
should support web aliases. Check it out when it makes to
the public CVS server and let me know if it accomplishes
what you need.
Logged In: YES
user_id=216797
Works like a charm! Great!
Thanks,
E.