httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ling F. Zhang" <lingfe...@yahoo.com>
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!
http://sbc.yahoo.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


Mime
View raw message