I just tried out all these things. They worked until I tried to style my directory listings. It picks up the stylesheet from the root instead of the current directory apparently.
.htaccess use may be tempting to take advantage of but it does open up a possible security breach on your webserver. all an intruder has to do is drop in a replacement .htaccess file with malicious code, or a new .htaccess file in a directory that never had one before... use your imagination. if you have access to your httpd.conf, you should drop your code in there instead.
punkrock4life, to do that they would need to have root access to your site, and if they have that, no amount of protection will save your ass. silly. good link.-mu
pnezzySep 6, 2005
pretty cool. Would have been handy when I was actually learning this stuff. Digg it.
schradeSep 6, 2005
Very cool and handy tips for beginners. Definitely recommend checking it out if you're just learning .htaccess creation.
willywonkaSep 6, 2005
I just tried out all these things. They worked until I tried to style my directory listings. It picks up the stylesheet from the root instead of the current directory apparently.
dyefadeSep 6, 2005
@Software2, well, the summary implied to me . Maybe, on re-reading it doesn't imply that. Maybe I'm just reading too much into it...
dyefadeSep 6, 2005
wtf, digg takes accepts html tags, i wrote, (it's clear where), "newbies to computers/computing", but I put it in angle brackets. Meh.
Closed AccountSep 6, 2005
.htaccess use may be tempting to take advantage of but it does open up a possible security breach on your webserver. all an intruder has to do is drop in a replacement .htaccess file with malicious code, or a new .htaccess file in a directory that never had one before... use your imagination. if you have access to your httpd.conf, you should drop your code in there instead.
techjunkieSep 16, 2005
This was very helpfull! Thanks!!
mrunderpersonJan 14, 2006
punkrock4life, to do that they would need to have root access to your site, and if they have that, no amount of protection will save your ass. silly. good link.-mu
apachehtaccessApr 25, 2009
@ <a class="user" href="http://www.askapache.com/htaccess/apache-htaccess.html">http://www.askapache.com/htaccess/apache-htaccess. ...</a>