RSS Feed

How to make mod_rewrite work on openSUSE 11.3

As you may know, this blog is hosted at home, on my 5 year old computer, running openSUSE 11.3, and apache.

Just a quick how to, of what I did to make it work.

First, edit /etc/apache2/httpd.conf Change the “AllowOverride None” to “AllowOverride All” so it looks like this:

# forbid access to the entire filesystem by default Options None AllowOverride All Order deny,allow Deny from all 

Then, you need to add some code to your virtual hosts. In my case, they now look like this:

DocumentRoot /srv/www/htdocs/alpha1beta/ ServerName ServerAdmin [admin email address redacted] Options +FollowSymLinks AllowOverride all Order deny,allow Allow from all RewriteEngine On RewriteBase /alpha1beta/ 

I had to add the bottom section there to make it work.

After changing the httpd.conf and all vhosts connected with it, simply reboot apache, with rcapache2 restart, run as root. Then set your pretty URL in CMS.
Originally posted at


About Alpha1beta

College Student & Web Designer. Gorram Geeky Sarcastic BrownCoat!, Droid rights activist, and professional code monkey.

Whatcha think?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: