Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Oct 27, 2008 10:50 pm 
Offline

Joined: Mon Oct 27, 2008 10:44 pm
Posts: 1
Hi there, thanks in advance for reading this post.

I have installed a blogging engine called Chyrp but I've ran into some troubles. There is a function called Clean URLs, which uses mod_rewrite to produce simple URLs. I have setup .htaccess properly and enabled the rewrite module but I get 404 errors. Without having the clean url function on, the blog works like a charm but with it open, it just doesn't work.

I am very new to apache(well, new to the whole vps things) so I use only the defaults, as it was installed in the first place so I was just wondering if I have missed to configure some things to get them work.

Here is the phpinfo as a reference (http://kilowhisky.com/phpinfo.php)

Any suggestions would be greatly appreciated.


Top
   
 Post subject:
PostPosted: Tue Oct 28, 2008 2:09 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
I don't know the internal workings of Chyrp (I've heard about it, but never used it), but if your blog works perfectly without clean URL's, then the problem is probably with Apache, not PHP.

So please, drop the link to your phpinfo file! You're giving away detailed information about your configuration, which might help someone break into your system!

Back to more mundane issues....

1) Did you restart Apache after enabling mod_rewrite?
Code:
a2enmod rewrite
/etc/init.d/apache2 restart


2) Is the .htaccess file provided by Chyrp where it's supposed to be? Did you accidentally leave it out while uploading your site? (One common mistake: if you move files around using the "mv" command, .htaccess files are often left out because they're hidden.)

3) Are there any other .htaccess files, either above or below the directory in question, that interfere with your .htaccess file? (Files with a leading dot in their names are normally hidden in Linux, so use "ls -al" to look them up.)

4) Check the AllowOverride settings in your VirtualHost config file.

Hope this helps,


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group