httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ling F. Zhang" <>
Subject [users@httpd] url or path or viseversa
Date Wed, 02 Jul 2003 21:02:46 GMT
I am writting a cgi script to maybe server some file
to user...
now, in httpd.conf, I have

alias /file/ "D:\file2serve\"

How can I write a function (in perl or C or whatever)
that I can cover the local path to the aliased url?
string convert(string a)
where, if a="D:\file2serve\
convert(a) = /file/

of course, I will have to take care of permission issue...

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message