Page 1 of 1
Installation with override all in httpd.conf giving 500 err
Posted: Wed Aug 24, 2005 1:51 am
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
Re: Installation with override all in httpd.conf giving 500
Posted: Wed Aug 24, 2005 12:18 pm
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
Posted: Wed Aug 24, 2005 7:22 pm
by njdevang1
The 3 rd point solved the problem. Thanks Garvin
Follow up on this
Posted: Mon Sep 12, 2005 10:06 pm
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 :-\
Re: Follow up on this
Posted: Mon Sep 12, 2005 10:09 pm
by garvinhicking
benireland: Just remove your .htaccess file and you should be alright
Regards,
Garvin
thanks
Posted: Mon Sep 12, 2005 11:10 pm
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
Re: thanks
Posted: Tue Sep 13, 2005 12:30 am
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