LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Apache2 trailing slashes ubuntu 12.04 child directory access (https://www.linuxquestions.org/questions/linux-security-4/apache2-trailing-slashes-ubuntu-12-04-child-directory-access-4175420210/)

Corpus-Khu 08-03-2012 11:44 AM

Apache2 trailing slashes ubuntu 12.04 child directory access
 
These two uri go same place but the second one messes up the relative directory path..

exmpl.com/myfile.htm
exmpl.com/myfile.htm/

The trailing slash makes opera think stylesheets imported relatively are one directory down.. How do I just remove this trailing slash from the settings without htaccess. I do think it is an opera issue but it cant hurt to remove it... i could rtrim and rewrite or other things.. but i just wonder how urls like xmpl.com/file/%action=add&name=/person are actually handled by apache and placed in servervars...

From a speed and security standpoint i think i want my css and images embeded in the original delivered page. If more needed on client it could be called as they go.. need to fix this as opera is my favorite browser.


All times are GMT -5. The time now is 01:25 PM.