| Feyr | a request is a request, at some point something have to ask the server for it |
| neptuneBSD | maybe 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 |
| Feyr | you can use a redirect on your images to send it to server2 if you want, but the url WILL be that of server2 |
| DavidHKMrPowers | Feyr :D |
| riczho | neptuneBSD: You can probably disable PHP, CGI, SSI, etc. for the directory. |
| Feyr | or use a files/filesmatch to deny getting php/cgi files |
| neptuneBSD | ya, i know riczho...But i cant remember exactly how to do that isnt there a way to do it in .htaccess |
| Aragorn16 | OK, 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"? |
| Feyr | yes.. files and filesmatch can be used in .htaccess |
| Aragorn16 | Basically, can I rewrite to a page that uses GET vars? |
| Feyr | yes |
| Aragorn16 | Hmm... |
| Feyr | but check the manual, iirc there's something about encoding |
| chillmac | Feyr: i just want to proxy the request, not the traffic. thats all actually :x |
| Feyr | which isnt doable, if you're requesting something, you expect a reply |
| chillmac | how 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 |
| KWhat | anyone play with peruser ? |
| Feyr | redirect the image |
| chillmac | thats what i meant with passive request ;) |
| Feyr | there's no such thing as a passive request, stop inventing terms |
| Daveman | I am back! |
| KWhat | on peruser what is the Processor chroot dir for... it doesnt appear to be chrooting |
| Feyr | damnit. do the devs do any kind of unit testing on apache/tomcat ? why the hell is mod_jk permitted to override access controls? |
| chillmac | Feyr: should it be somehow like this: http://www.pastecode.com/25345 ? its not working yet.. ;/ |
| Feyr | something like that yeah |
| chillmac | is Redirect not working with (.*) and $1 = ? nm |
| KWhat | anyone used usedir ? |
| Daveman | mod_userdir |
| fajita | mod_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 |
| jwl007 | if |
| KWhat | mpm-peruser docs on setting up ? |
| jwl007 | how can i prevent .htaccess prompting for username/password if a rewriteengine as been followed? rewriterule rather |
| Feyr | check out env var. set the var in your rewriterule and allow from env=bleh |
| jwl007 | ehh what |