Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-13 22:17:48

eoin
Member
Registered: 2006-03-31
Posts: 10

Get clean URLs working?

I’ve checked the FAQ and followed the instructions here. No joy. Can’t get URLs to sections working – unless it enter the messy URL address (while still in /section/title mode).

Also tried the Serene template to see if that worked – same error. Starting to go in circles so thought I’d post. Diagnostics attached – I’ve also tried uncommenting the top lines of the .htaccess file (as per instructions).

Thanks,
Eoin

Textpattern version: 4.0.3 (r1188)
last_update: 2006-04-02 17:34:10/2005-12-26 18:49:56
Document root: C:/Program Files/Apache Group/Apache2/htdocs (C:\Program Files\Apache Group\Apache2\htdocs)
$path_to_site: C:\Program Files\Apache Group\Apache2\htdocs\snco
Textpattern path: C:\Program Files\Apache Group\Apache2\htdocs\snco\textpattern
Permanent link mode: section_title
upload_tmp_dir: C:\Program Files\PHP\uploadtemp
Temp folder: C:\Program Files\Apache Group\Apache2\htdocs\snco\textpattern\tmp
Site URL: localhost/snco
PHP version: 5.1.2
server_time: 2006-04-13 22:58:21
MySQL: 5.0.19-nt
Locale: English_United Kingdom.1252
Server: Apache/2.0.55 (Win32)
php_sapi_mode: cgi-fcgi
os_version: Windows NT 5.1

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 0

————————————

Offline

#2 2006-04-14 04:49:58

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

Re: Get clean URLs working?

FAQ

You probably don’t have mod_rewrite enabled. Open up the file (I think this is the path to it) in your text editor:
C:\Program Files\Apache Group\Apache2\conf\httpd.conf

Look for the line: LoadModule rewrite_module modules/mod_rewrite.so and make sure that there is no # in front of it. If there is, remove it, save the file, and restart Apache.

Offline

#3 2006-04-14 21:46:59

eoin
Member
Registered: 2006-03-31
Posts: 10

Re: Get clean URLs working?

Yes, it’s enabled – forgot to mention that in my original post.

Offline

#4 2006-04-15 02:32:48

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

Re: Get clean URLs working?

Please read the FAQ before posting. We can’t help you without more information. In particular:

  • If you’re asking for help with a problem or error, please describe the problem clearly and unambiguously. If there is an error message, please include an exact copy of the message in your post. If something doesn’t work as expected, describe what you’re expecting to see, and the actual behaviour. A link to the page in question is usually helpful, and sometimes a screenshot might be appropriate. Descriptions like “doesn’t work” or “it’s broken” are too vague, and unlikely to receive an answer.

Alex

Offline

#5 2006-04-16 22:08:00

eoin
Member
Registered: 2006-03-31
Posts: 10

Re: Get clean URLs working?

Got it working. Hadn’t set AllowOverride to All in the main apache config file. Thanks for advice Zem – will try to be more specific in the future.

Offline

Board footer

Powered by FluxBB