Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-03-19 08:16:44

sdebaun
New Member
Registered: 2009-03-19
Posts: 2

[howto] Clean URLs on localhost

Official documentation non-existent and the forums more related to remote server issues I found a fix for my problem getting clean URL’s ( on localhost.)

I’m running my Textpattern site as a virtual host (http://textpattern.dev) on my local machine. (windows xp/apache)
Tried all the commonly recomended “help” but no luck finding help getting clean URL’s. Here is what I did.

1.) in “.htaccess” (in the textpatten directory…) I uncommented the first 3 lines and left the “#RewriteBase /relative/web/path/
“ line commented. (Because of the virtual host configuration….I think) The very last line of the file should remain commented also.

2.) in “apache/conf/httpd.conf” I uncommented “LoadModule rewrite_module modules/mod_rewrite.so” as required per instruction. (line 120)

3.) also in httpd.conf (this was the trick) I changed “AllowOverride none” to “AllowOverride all” (under the Directory section – line 228)

Hopefully this will help somebody!

Offline

#2 2010-02-21 09:59:09

teepee
New Member
Registered: 2010-02-21
Posts: 2

Re: [howto] Clean URLs on localhost

Thank you for the info. I tried my luck searching for help online and none worked so far. I’ll give this a shot and keep you posted if it will work on mine and I’m really hoping it will work.

Offline

Board footer

Powered by FluxBB