OT: All URL's through script - except exisitng files

From: Date: Sun, 19 Mar 2000 03:36:38 +0000
Subject: OT: All URL's through script - except exisitng files
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-12392@lists.php.net to get a copy of this message
I'd like to run all requests for files which don't exist through a script. If they exisit, I'd like to serve them normally. The following *seems* like it should work, however, what ends up happening is that every request, including ones for files with size >0 get run through t.php. The documentation seems to indicate that only if the condition matches will the rule run, but I seem to get different behavior, this condition always matches. Is it something to due with the .* matching? I'm not sure if REQUEST_FILENAME is being set properly either. I tad off topic, but the script is PHP, and I suspect others might have tried this. August RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^.*$ t.php [T=application/x-httpd-wphp4] > -----Original Message----- > From: Mauricio Herrera [mailto:ma_herr@yahoo.com] > Sent: Saturday, March 18, 2000 6:24 PM > To: PHP4 > Subject: [PHP4BETA] afm fonts in pdflib.upr > > > Hi all > > I'm trying to add afm fonts to the pdflib.upr file. I > recompiled pdflib with the changes, but the new fonts > are not recognized. > > Am I missing some step? > > I recompiled pdflib, copied the upr and afm files to > the directory I'm using and restarted apache. > > Thanks for any tips. > > -Mauricio > > __________________________________________________ > Do You Yahoo!? > Talk to your friends online with Yahoo! Messenger. > http://im.yahoo.com > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net >

« previous php.version4 (#12392) next »