Page 1 of 1

AllowOverride none, how to?

Posted: Mon Oct 08, 2007 10:23 am
by domedo
Hi guys,
I've read many threads about "Internal Server Error 500" but I have not found a good answer to my issue.

My server configuration is the follow:
AllowOverride none

I can't change this for many reason, so I've deleted .htaccess from root path of my serendipity installation and modified url rewriting to none.

The result is that:
1) I can't view index.php (404)
2) I can access only to serendipity_admin.php with no css file.


Please, have you a good solution to suggest?
Keep in mind I can't modify httpd of my apache installation (v 2.0)

Thanks in advance.

Regards,
Domenico

Re: AllowOverride none, how to?

Posted: Mon Oct 08, 2007 10:26 am
by garvinhicking
Hi!

You MUST be able to view index.php! If you get a 404, this means your index.php file is missing!

Are you really sure you set URL Rewriting to None? What's your URL?

Regards,
Garvin

Posted: Mon Oct 08, 2007 10:42 am
by domedo
INDEX.PHP EXISTS. I'm sure!
Url rewriting is set to none. I've checked this by DB too.

this is my address http://www.tuttosteopatia.it/osteoblog/ ... usso_blog/

Have you any ideas?
Strange, very strange!

Thanks,
Domenico

Posted: Mon Oct 08, 2007 10:51 am
by garvinhicking
Hi!

When I call http://www.tuttosteopatia.it/osteoblog/ ... /index.php I don'T get a 404 error!

I get a HTTP 200 header, and then your PHP fatally dies and your webserver process carashes.

Please check your PHPs and/or Apache Errorlog, there must be a message about a fatal error or a segfault.

Best regards,
Garvin

Posted: Mon Oct 08, 2007 11:06 am
by domedo
I'm contacting my hosting server,
I'll paste error asap.

Thank for your support.

Domenico

Posted: Mon Oct 08, 2007 11:33 am
by domedo
Hi garvinhicking,
while wait for a aswer from hosting admin I've look into access_log.
The result seem to be 301 from apache.

213.199.***.*** - - [08/Oct/2007:10:38:05 +0200] "GET /osteoblog/nuccio_onofrio_russo_blog HTTP/1.1" 301 360 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322; MS-RTC LM 8; InfoPath.2)"


Any Ideas?
Grazie,
Domenico

Posted: Mon Oct 08, 2007 12:30 pm
by garvinhicking
Hi!

But that line you pasted is from a call like:

http://www.tuttosteopatia.it/osteoblog/ ... russo_blog

not from a call like

http://www.tuttosteopatia.it/osteoblog/ ... /index.php

The first call might fail because your .htaccess does not set a proper DirectoryIndex command (because AllowOverride None doesn't allow it, and your central server setup must use index.php as directoryindex).

Regards,
Garvin

Posted: Wed Oct 10, 2007 4:48 pm
by domedo
Hi all,
I've solved my issue setting an accurate memory limit.Great!

PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried
to allocate 7680 bytes) ...

Thanks