AllowOverride none, how to?

Having trouble installing serendipity?
Post Reply
domedo
Regular
Posts: 5
Joined: Fri Oct 05, 2007 7:27 pm

AllowOverride none, how to?

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: AllowOverride none, how to?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
domedo
Regular
Posts: 5
Joined: Fri Oct 05, 2007 7:27 pm

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
domedo
Regular
Posts: 5
Joined: Fri Oct 05, 2007 7:27 pm

Post by domedo »

I'm contacting my hosting server,
I'll paste error asap.

Thank for your support.

Domenico
domedo
Regular
Posts: 5
Joined: Fri Oct 05, 2007 7:27 pm

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
domedo
Regular
Posts: 5
Joined: Fri Oct 05, 2007 7:27 pm

Post 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
Post Reply