Rob Mills wrote: > David thanks for your help. I'm still getting a 500 error
We need way more information than that. 500 just means something went wrong. Without knowing what that something is we can't help you. You need to give us more information particularly what does your error log say? > but I know > the .htaccess is ok now because I tried running another test script > without trouble. This is what I have: > > web root > admin > > I want to URL to look like this: www.website.com/admin/categories/123 > The .htaccess file AND dispatch script are in the admin folder. > > RewriteEngine on > RewriteBase /admin > RewriteRule ^(.*)$ dispatch.cgi/$1 [L,QSA] > > Like I said the rewrite rules should be fine now. "should" is not good enough :) mod_rewrite is a somewhat tricky beast so I recommend that you set your RewriteLogLevel to something like 3 or 4 and look at your RewriteLog to make sure it's doing what you want it to do. > so it must be > something to do with the code in the dispatch script to correct the > PATH_INFO. But I don't really understand them! There might be bugs in that code, but before blaming it you might want to check your error log :) -- Michael Peters Developer Plus Three, LP --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
