Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-10 15:05:48

lcayetano
Member
Registered: 2005-09-14
Posts: 10

Mamp and Clean Urls

Seems like everyone gets clean urls out of the box upon installation of Mamp, but for some reason I can’t get it to work. I’ve tried this on my laptop and on an iMac and I get the same; “Clean URL test failed.”

The .htaccess file is:
——————————
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php
——————————

I looked around on the web to figure it out for myself since Textpattern does work. Mod_rewrite is running in Apache, btw.

Any suggestions? I’m thinking there is some simple solution that escapes me.

Thank you in advance.

Offline

#2 2007-02-10 20:25:20

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Mamp and Clean Urls

Offline

#3 2007-02-10 23:07:18

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Mamp and Clean Urls

Merely having mod_rewrite installed isn’t enough; Apache has to be correctly configured for it to work as expected. Textpattern is designed to work on a typical production web server. Your best bet is to seek help from Mamp or Apache resources.

Last edited by zem (2007-02-10 23:08:01)


Alex

Offline

#4 2007-02-11 02:00:47

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: Mamp and Clean Urls

zem wrote:

Merely having mod_rewrite installed isn’t enough; Apache has to be correctly configured for it to work as expected.

That’s still strange since mamp is really a drag&drop install. I have txp running under mamp on two macs and clean urls work just fine without ever having configured anything.

Offline

#5 2007-02-11 02:07:45

lcayetano
Member
Registered: 2005-09-14
Posts: 10

Re: Mamp and Clean Urls

masa wrote:
That’s still strange since mamp is really a drag&drop install. I have txp running under mamp on two macs and clean urls work just fine without ever having configured anything.

Which is why i posted here originally. From what I’ve read, people just installed Mamp (ver 1.4.1) and were able to start working on Textpattern with Clean URLs with no problem.

The FAQ didn’t help any I’m afraid, but I’ll post on the Mamp forums for some insight.

Offline

Board footer

Powered by FluxBB