Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-02-16 11:57:07
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
clean url test failed local testing
Hello everyone, this is my first post..
I have just started looking into and using textpattern. This is my first look at a cms programme.
I have installed textpattern on my Mac g4 OSX. I have bought the book textpattern solutions and so far the install has been relatively easy. I have logged into my account and checked the the diagnostics and I get the error clean url test failed. I have checked the book and re-downloaded the textpattern-4.xxx.zip and opened the .htaccess and re-saved this into my sites folder (at the moment I am following the book exactly. So my url is example.dev). I refreshed the page and still the preflight error shows.
please find below the error I am receiving:
Textpattern version: 4.0.6 (r2805)
Last Update: 2008-02-15 00:24:52/2008-01-27 19:59:12
Document root: /Users/robf/Sites/example.dev
$path_to_site: /Users/robf/Sites/example.dev
Textpattern path: /Users/robf/Sites/example.dev/textpattern
Permanent link mode: section_id_title
upload_tmp_dir: /Applications/MAMP/tmp/php
Temporary directory path: /Users/robf/Sites/example.dev/textpattern/tmp
Site URL: example.dev
PHP version: 5.2.3
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server Local Time: 2008-02-16 11:25:34
MySQL: 5.0.41
Locale: en_GB.UTF-8
Server: Apache/2.0.59 (Unix) PHP/5.2.3 DAV/2
Apache version: Apache/2.0.59 (Unix) PHP/5.2.3 DAV/2
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Darwin 8.11.0
Pre-flight check:
————————————
Clean URL test failed.
————————————
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
————————————
hope someone could help..
rob
Offline
Re: clean url test failed local testing
I am on a Win set-up so there might be differences but in the Apache directory you should be able to find the httpd.conf file which contains all the “modules”. Look for a line similar to “LoadModule rewrite_module modules/mod_rewrite.so” and if it has a hash-sign at the start of the line, remove it. It may be inside a “conf” folder.
EDIT
I forgot. You will need to restart Apache for this to take effect.
Last edited by thebombsite (2008-02-16 12:14:28)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: clean url test failed local testing
Is it just the clean URL test that fails, or are the clean URLs not working? The former doesn’t necessarily imply the latter.
Offline
#4 2008-02-16 12:26:34
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
Re: clean url test failed local testing
Hi, thanks for your reply. At the moment I am using MAMP as my php admin/mysql programme, I have setup a virtual host as the book states though. Also with in the /applicaions/MAMP/conf/apache/ directory I have opened httpd.conf file using these details below:
NameVirtualHost 127.0.0.1
<VirtualHost localhost>
serverName localhost
DocumentRoot “/Users/robf/Sites”
</VirtualHost>
<VirtualHost example.dev>
ServerName example.dev
DocumentRoot “/Users/robf/Sites/example.dev”
</VirtualHost>
now, within this file I have searched for LoadModule rewrite etc and nothing shows.
sorry, I’ll keep looking
rob
Offline
#5 2008-02-16 12:58:30
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
Re: clean url test failed local testing
mmm, sorry to sound so dumb, it errors in the preflight diagnostics panel..Not really sure how to find out its working as such. Is there a quick solution test.
Im sorry for my lack of knowledge, I am just going through the book first few pages..
thanks for your comments so far
rob
Offline
Re: clean url test failed local testing
Just use your browser, visit your website, click a link for an individual article. Does that work, when using a clean URL scheme, then clean URLs are working.
Offline
#7 2008-02-16 13:09:51
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
Re: clean url test failed local testing
yeah, when I click the article link, first post the url used is http://example.dev/articles/1/first-post
Why do I get this diagnostics error if all is working ok?
thanks for all your quick replies
rob
Offline
Re: clean url test failed local testing
Diagnostics is an attempt to spot potential errors. In most cases it works fine, but testing if clean URLs work is tricky, so sometimes the test fails while the clean URLs do work. Nothing to worry about. The test is less important than having clean URLs work from the visitor perspective ;)
Offline
#9 2008-02-16 14:24:54
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
Re: clean url test failed local testing
thanks for all your comments. i’ll carry on…
rob
Offline
Pages: 1