Regarding Chyrp(blogging engine)

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.

1 Reply

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?

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,

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct