argument is not a valid URL

DrCold

Joined: 2002-09-13
Posts: 4
Posted: Fri, 2002-09-13 01:42

Hey, i've read everything i can find, but i still cannot seem to find a cure for my problem. When i ever i go to http://mysite.url/index.php, i keep getting a 500 error. My site isnt public to the net, so thats why i cant link to it for a demo.
Im using Apache2 and the latest PHP4 on a win2k server. My apache error log says:
"C:/inetpub/sportography/.htaccess: RewriteBase: argument is not a valid URL."
I've tried everything i can think of, and i just cant get it. I have Gallery working on another site, and the only difference being its Apache 1.3 and no mod_rewrite. Im thinking that mod_rewrite has something to do with it, but i dont know very much about rewrite. Does anyone have any suggestions i could look into? Im sure it has to be something simple in the php.ini or my httpd.conf, i just dont know what it is. :sad: Thanks.

DrCold

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Fri, 2002-09-13 03:33

Hmm, perhaps something with your setup is invalidating the generic
mod_rewrite rules it installed. You can try deleting the .htaccess file
and re-running the config for it to re-generate it as it may have gotten
corrupted somehow. Otherwise you may just have to disable mod_rewrite.

Did the config work with mod_rewrite by default, or did you force it to think
it works?

 
DrCold

Joined: 2002-09-13
Posts: 4
Posted: Fri, 2002-09-13 05:23

I've actually never used mod_rewrite before. I was excited to see it work, but i guess i'll have to disable it. Im just making this gallery for a client of ours that wants to see the photos his photographers take to compair them and such. I work for a photolab that does the proccessing and printing for photographers i the "youth sports photography" field. http://www.groupphotographers.com
I was thinking of using mod_rewrite to keep it more user friendly, but oh well, they arn't THAT long. :smile: Before i disable it, i think i'll run thru the config again. When i first started the conifg, it found mod_rewrite and was happy about it, i wish i knew more about Apache and PHP, but i guess this is how you learn. Thanks for the clues tho. :grin:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-14 06:07

PHP is experimental on Apache2. Use it at your own risk.