Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-06-05 14:57:04

philbowell
Member
Registered: 2009-06-05
Posts: 12

Local Setup with MAMP URL stopped working

Hi guys, I’m new Textpattern but wanted to give it a good try out.

I’m currently setting up a local development environment on my Mac at work whch run 10.4.11. I’m using the Textpattern Solutions book to help me get to know TXP and following the instructions for a local install.

Yesterday it was all working but today something has gone awry. I have TXP installed and have everything configured as chapter 2 of the book says I should so that I can type in mydomain.dev and it’s displayed correctly. After a restart today this seems to have stopped working. Typing mydomain.dev gives me an “Index of /” page instead of the home page of the Textpattern install as it was doing yesterday. The MAMP home page at localhost/mamp displays correctly.

Has something changed with the install? How can I make it behave again?

Offline

#2 2009-06-05 17:01:43

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Local Setup with MAMP URL stopped working

philbowell wrote:

Typing mydomain.dev gives me an “Index of /” page instead of the home page of the Textpattern install as it was doing yesterday.

Are you sure you didn’t accidentally remove index.php?

Last edited by els (2009-06-05 17:03:08)

Offline

#3 2009-06-08 08:49:04

philbowell
Member
Registered: 2009-06-05
Posts: 12

Re: Local Setup with MAMP URL stopped working

Yep the the index.php is still there. Under mydomain.dev folder I have files, images, rpc, textpattern folders and a single index.php file. I’ve arrived at work this morning and it is still behaving as it was when I posted on Friday.

Also when I visit mydomain.dev the “Index of /” page lists the folder of my site. When I click it it displays a 404 page. with no CSS formatting.

Offline

#4 2009-06-08 11:47:08

philbowell
Member
Registered: 2009-06-05
Posts: 12

Re: Local Setup with MAMP URL stopped working

I ended up reinstalling everything and beginning again.

This time I used VirtualHostX as I do at home to set up the example.dev style URL’s. TXP is working except for some reason the clean URL’s test fails. The .htaccess file is in the right place and I haven’t altered it. How can I get clean URL’s working?

Offline

#5 2009-06-08 12:13:03

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Local Setup with MAMP URL stopped working

The clean URL test failure doesn’t always mean clean URLs don’t work — have you tried loading some pages in a clean URL mode?


Code is topiary

Offline

#6 2009-06-08 12:55:41

philbowell
Member
Registered: 2009-06-05
Posts: 12

Re: Local Setup with MAMP URL stopped working

Just tried setting my url scheme to /section/title and navigated to a page and received a 404.

I’m slightly confused because it seems in general people who use MAMP have clean url’s work out the box.

Offline

#7 2009-06-08 17:47:49

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Local Setup with MAMP URL stopped working

I won’t be much help here — I can’t figure out why I have clean URLs on my OS X.5 machine but not my OS X.4 machine. Using built-in Apache server in both cases.


Code is topiary

Offline

#8 2009-06-10 07:52:13

philbowell
Member
Registered: 2009-06-05
Posts: 12

Re: Local Setup with MAMP URL stopped working

It must be something Tiger related. Anyone have any ideas?

Offline

Board footer

Powered by FluxBB