And, I want to parse files and directories (because: I want to create a small file-browser which can handle text files and images. The images i want to display, and for the text files i want a minimal syntax highlighting display).. so if I add that line 95 to my code (maybe on the wrong spot in my code), I also have to add a slash to my files. Is that normal? I mean: a URI like http://somehost/file.txt/ seems weird to me (but who am i)
But ok, you said: how they handle being passed a directory name..
Also: adding the DECLINE renders a "File Not Found" on my server. So if I want to use your tip, if need to add a slash at the end of each link i create (like the <a href="$location/">).
But like I said: I probably don't understand what you mean..
I've put my updated code (with the syntax highlighting mess) in my scratchpad, if someone's interested.
Either way: thank you for pointing me at stuff I read to quickly (or failed to read). It's a bad habit of me.. ack.
to ask a question is a moment of shame
to remain ignorant is a lifelong shame
In reply to Re^4: [mod_perl] path_info() problem
by insaniac
in thread [mod_perl] path_info() problem
by insaniac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |