Installation with override all in httpd.conf giving 500 err

Having trouble installing serendipity?
Post Reply
njdevang1

Installation with override all in httpd.conf giving 500 err

Post by njdevang1 »

I installed the s9y successfully without override all ..

after installation a link appeared to view the blog, when I clicked on the link I got HTTP 500 msg?

What changed do I need to make, I have access to everything on our web server.

Thanks for your help.
Devang
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Installation with override all in httpd.conf giving 500

Post by garvinhicking »

If you get a 500 Server Error this means that your .htaccess is not working properly.

This can have many reasons:

1. Your Server doesn't allow .htaccess at all. To fix this, edit your Apache httpd.conf file and set AcessFileName .htaccess.

2. Your PHP is running a CGI. This disallows any php_value* parameters inside .htaccess. Usually Serendipity should discover that on its own and remove those lines. If it doesn't, please delete them manually.

3. The most common problem is that you don't have AllowOverride All set. You tell yourself that you have that setting off. If it is off, you cannot use any "php_value" or any "ErrorDocument" directive in .htaccess. So either delete those lines frmo .htaccess or take your Apaches httpd.conf and search insert:

Code: Select all

<Directory "/path/to/serendipity">
  AllowOverride All
</Directory>
Of course replace /path/to/serendipity with the proper absolute path.

HTH,
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/
njdevang1

Post by njdevang1 »

The 3 rd point solved the problem. Thanks Garvin
benireland

Follow up on this

Post by benireland »

Hi i have the same error, do i need to get in touch with my sysadmin to allow anything or isntall anything? i got the 500 error also.

if i have to get in touch with my sysadmin, im sorry but what exactly should i ask him, iv tested his patience enough as it is and when asking i need to know exactly what i need, im sorry im not a genius when it comes to coding and apache :-\
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Follow up on this

Post by garvinhicking »

benireland: Just remove your .htaccess file and you should be alright :)

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/
benireland

thanks

Post by benireland »

Got it incorporated into my CMS site :)

Can i just ask, im looking to set up my current site users with their own blog. How hard would it be to tie serendipity into the current database structure for logins (user / pass).

Also i want the users to have their own blogs, as in when they login and create an entry i dont want their posts to add to my blog if you know what i mean?

Thanks

Ben
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: thanks

Post by garvinhicking »

benireland wrote:Got it incorporated into my CMS site :)

Can i just ask, im looking to set up my current site users with their own blog. How hard would it be to tie serendipity into the current database structure for logins (user / pass).
Actually that's very hard. There are about 20-30 SQL queries which are closely joined with the "serendipity_authors" table. You will need to edit all those SQL queries and adapt them to your need...
Also i want the users to have their own blogs, as in when they login and create an entry i dont want their posts to add to my blog if you know what i mean?
You would need to setup a blog for each of the posters then? Or you can use the category system of 0.9 and the category properties plugin plus the new permission system so that each poster can only post to his own category, and those categories are with their own layout each.

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