Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 10:37 pm EST
Geeklog Forums
Url Rewrite leads to "Internal Server Error"
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
Posts: 818
Url Rewrite has never worked for me in the 1.3.9 release candidates, so I hoped it'd finally work in the final version.
Well, I've just downloaded and installed it and it doesn't.
So since it's the final version, I figure it's time for a post.
When I turn Url Rewrite on and click "read more" in stories, I get a "Internal Server Error" page.
You know, like those you get when you forget to enable "Execute" in CHMOD for CGI files.
Now, while Geeklog's internal error log doesn't display anything about this, my domain's error log does display this:
"Premature end of script headers: /cgi-bin/php"
So what's wrong and will Google ever find my articles?
Well, I've just downloaded and installed it and it doesn't.
So since it's the final version, I figure it's time for a post.
When I turn Url Rewrite on and click "read more" in stories, I get a "Internal Server Error" page.
You know, like those you get when you forget to enable "Execute" in CHMOD for CGI files.
Now, while Geeklog's internal error log doesn't display anything about this, my domain's error log does display this:
"Premature end of script headers: /cgi-bin/php"
So what's wrong and will Google ever find my articles?
15
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by LWC: Url Rewrite has never worked for me in the 1.3.9 release candidates, so I hoped it'd finally work in the final version.
Hope isn't a good concept for getting problems fixed. The release candidates were released so that people could find problems with them and report them.
Quote by LWC: Now, while Geeklog's internal error log doesn't display anything about this, my domain's error log does display this:
"Premature end of script headers: /cgi-bin/php"
"Premature end of script headers: /cgi-bin/php"
Which webserver (Apache 1.3 / 2.0, IIS, ...) are you on? Which version of PHP is runnning there?
bye, Dirk
7
4
Quote
Status: offline
r_f_o_t
Forum User
Full Member
Registered: 07/30/03
Posts: 241
Location:Illinois
Quote by LWC: BTW, are there any command in linux that will display those version numbers without using external perl/PHP scripts?
httpd -v or something like /usr/sbin/httpd -v if it's not in your $PATH
php -v
HTH,
Chuck
Too many hands on my time.
7
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
No idea, sorry. I haven't heard of a case were it did not work with Apache.
Anything in Apache's error_log (if you have access to it)?
What happens when you put this in a file called test.php
and call up the file like
http://yoursite/test.php/blah/blah
bye, Dirk
Anything in Apache's error_log (if you have access to it)?
What happens when you put this in a file called test.php
Text Formatted Code
<?php echo $HTTP_SERVER_VARS['PATH_INFO']; ?>http://yoursite/test.php/blah/blah
bye, Dirk
7
10
Quote
All times are EST. The time is now 10:37 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content