Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-02-15 21:05:56

brian.zerangue
Member
Registered: 2005-02-15
Posts: 62

zem_rewrite help needed!

I’ve installed zem_rewrite on Textpattern 1.0 rc1. When I activate the plug-in, I get the following error message when I go to the home page of my Textpattern site…

“The page you requested, index.php, was not found.”

Per Zem’s instructions on the zem_rewrite documentation, I edited the .htaccess file with

RewriteEngine On # Passthrough for existing files and directories RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L] # Everything else should go through Textpattern RewriteRule (.*) index.php

ALSO, per Zem’s instruction, I removed all other clean URL rules and placeholder files (that i’m aware of)

The URL mode is set to /clean/

My host is Dreamhost (UNIX/Apache).

Please help! I’m stuck. By the way, I’m a newbie at Textpattern and PHP.

Thanks!
Brian Z.

Offline

#2 2005-02-15 22:53:50

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: zem_rewrite help needed!

Have you installed TXP in a subdirectory of your root? If so, look at the instructions to the plugin at zem’s site

Offline

#3 2005-02-16 14:41:00

brian.zerangue
Member
Registered: 2005-02-15
Posts: 62

Re: zem_rewrite help needed!

Andreas -

Thanks for replying to my question. My index.php (home page) is installed in the root directory.

Here’s my setup

domain.com/index.php
domain.com/textpattern/index.php (Textpattern files are located in a folder that is in the root)

Offline

#4 2005-02-16 16:08:19

King Rat
Member
Registered: 2004-11-11
Posts: 20

Re: zem_rewrite help needed!

Dreamhost is a problematic host for Textpattern and clean urls. Another thread says that Dreamhost users can get clean urls with Max Ziebell’s RewriteRules available here. You need the placeholder files, though.

I’m on Dreamhost, but I haven’t tried this yet. I also don’t know if you’ll need to remove/disable zem_rewrite or not.

Offline

#5 2005-02-16 22:10:53

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

Re: zem_rewrite help needed!

Can someone on Dreamhost try the second set of rewriterules ? (the ones with %{DOCUMENT_ROOT}) -


Alex

Offline

#6 2005-02-17 15:24:14

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

Re: zem_rewrite help needed!

Any documented case of someone getting zem_rewrite or some other config to work with IIS?

Offline

Board footer

Powered by FluxBB