#apache - Tue 17 Apr 2007 between 14:42 and 15:06



Feyra request is a request, at some point something have to ask the server for it
neptuneBSDmaybe I can get a little help here...I've got an upload directory that i allow users to upload files into...However, there's nothing stopping them from uploading php scripts and then referencing them thru the webserver, causing them to execute. Im sure there's a directive or setting to stop this behavior in certain directories, but i cant find any info
Feyryou can use a redirect on your images to send it to server2 if you want, but the url WILL be that of server2
DavidHKMrPowersFeyr :D
riczhoneptuneBSD: You can probably disable PHP, CGI, SSI, etc. for the directory.
Feyror use a files/filesmatch to deny getting php/cgi files
neptuneBSDya, i know riczho...But i cant remember exactly how to do that
isnt there a way to do it in .htaccess
Aragorn16OK, if I use a mod_rewrite rule "RewriteRule UseNum\-([0-9]+) index.php?Number=%1", will "http://jonathan/UserNum-5" be interpreted by the server as a request for page "http://jonathan/index.php?Number=5"?
Feyryes.. files and filesmatch can be used in .htaccess
Aragorn16Basically, can I rewrite to a page that uses GET vars?
Feyryes
Aragorn16Hmm...
Feyrbut check the manual, iirc there's something about encoding
chillmacFeyr: i just want to proxy the request, not the traffic. thats all actually :x
Feyrwhich isnt doable, if you're requesting something, you expect a reply
chillmachow would you then do a traffic balancing of images?
cuz thats what im trying to do actually. www.server.com/image.gif is the central entry point, and then it should be redirected to different servers
KWhatanyone play with peruser ?
Feyrredirect the image
chillmacthats what i meant with passive request ;)
Feyrthere's no such thing as a passive request, stop inventing terms
DavemanI am back!
KWhaton peruser what is the Processor chroot dir for... it doesnt appear to be chrooting
Feyrdamnit. do the devs do any kind of unit testing on apache/tomcat ? why the hell is mod_jk permitted to override access controls?
chillmacFeyr: should it be somehow like this: http://www.pastecode.com/25345 ?
its not working yet.. ;/
Feyrsomething like that yeah
chillmacis Redirect not working with (.*) and $1 =
?
nm
KWhatanyone used usedir ?
Davemanmod_userdir
fajitamod_userdir is jhttp://httpd.apache.org/docs-2.0/mod/mod_userdir.html or http://httpd.apache.org/docs/mod/mod_userdir.html5http://httpd.apache.org/docs/2.2/mod/mod_userdir.html
jwl007if
KWhatmpm-peruser docs on setting up ?
jwl007how can i prevent .htaccess prompting for username/password if a rewriteengine as been followed?
rewriterule rather
Feyrcheck out env var. set the var in your rewriterule and allow from env=bleh
jwl007ehh what

Page: 5 12 19 26 33 40 47 54 61 68 

IrcArchive