Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-08-30 19:56:31
- proudlywelsh
- New Member
- Registered: 2006-08-30
- Posts: 3
Clean URL's Mac OS X 10.4
Hi
I’m a little new to textpattern and development on MySql and PHP. I have searched the forums and google about the issue I am getting with clean URLS in textpattern.
I will detail as much as possible.
1. PWS in Mac OS X Was Started.
2. MySql was installed version: 4.1.21-standard
3. A Database of textpattern was created and the root password altered.
4. Textpattern Version 4.0.3 installed /library/webserver/documents/sitepbce/ (contents of textpattern download placed here)
5. Textpattern was installed successfully to the textpattern database
6. /etc/httpd/httpd.conf file was edited and LoadModule php4_module was uncommented as well as AddModule mod_php4.c, i also edited the
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
This was changed to AllowOverride All.
7. After changes have been made Apacher was gracefully resarted.
8.This is the current status of Diagnostics in Text Pattern
Textpattern version: 4.0.3 (r1188)
Last Update: 2006-08-29 18:33:14/2005-12-26 17:49:56
Document root: /Library/WebServer/Documents
$path_to_site: /Library/WebServer/Documents/sitepbce
Textpattern path: /Library/WebServer/Documents/sitepbce/textpattern
Permanent link mode: section_title
Temporary directory path: /private/var/tmp
Site URL: richard-saunders-powerbook58.local/sitepbce
PHP version: 4.4.1
Server Local Time: 2006-08-30 20:54:52
MySQL: 4.1.21-standard
Locale: en_GB.UTF-8
Server: Apache/1.3.33 (Darwin) PHP/4.4.1
Apache version: Apache/1.3.33 (Darwin) PHP/4.4.1
PHP Server API: apache
Server OS: Darwin 8.7.0
.htaccess file contents:
————————————
DirectoryIndex index.php index.html
Options +FollowSymLinks
RewriteBase /sitepbce/
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]
#php_value register_globals 0
————————————
I stll recieve a 404 error when using clean URL’s
Can any body shed some light on this matter I’m banging my head against a brick wall (and its hurting)
Rich
Offline
#2 2006-08-30 21:55:40
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Clean URL's Mac OS X 10.4
Did you also uncomment
LoadModule rewrite_module modules/mod_rewrite.so
and
AddModule mod_rewrite.c
?
I also had a problem getting clean url’s until I changed
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
into
<Directory />
Options FollowSymLinks
AllowOverride FileInfo
</Directory>
Offline
#3 2006-08-31 06:30:28
- proudlywelsh
- New Member
- Registered: 2006-08-30
- Posts: 3
Re: Clean URL's Mac OS X 10.4
Thanks for your reply Els.
The above settings have already been applied.
I’ve also tried AllowOverride All
Regards
Rich
Offline
#4 2006-08-31 08:31:31
- rui
- Member
- From: Espinho, Portugal
- Registered: 2005-04-28
- Posts: 65
Re: Clean URL's Mac OS X 10.4
Hi Rich!
Take a look at MAMP.
No more config files editing, so you can get clean URL’s out of the box. Works great and has a very reasonable price ;-)
All the Best,
rui
Last edited by rui (2006-08-31 08:33:25)
Offline
#5 2006-08-31 21:35:30
- proudlywelsh
- New Member
- Registered: 2006-08-30
- Posts: 3
Re: Clean URL's Mac OS X 10.4
rui Thanks so much. I just installed MAMP for a testing server and it works absolutly great. I will never install textpattern on Mac OS X another way.
Offline
Pages: 1