Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-29 22:18:08

jenpasch
Member
Registered: 2005-03-30
Posts: 10

new host = htaccess-fun (errrr...)

My new host acknowledged not being familiar with mod-rewrite, except to know that it’s on…

He sent me this (from a previous project):

++++++++++++++++++

RewriteEngine On
RewriteRule !(\.gif|\.css|\.js|\.jpg|\.png|\.swf|\.pdf|cron.php)$ index.php

++++++++++++++++++

So I tried that. Got the clean links to work, but no styling.
Does this give anyone a hint as to what my .htaccess should be?

cheers!
jen

Textpattern version: 4.0.2 (r1076)
last_update: 2005-11-28 23:09:20/2005-11-28 23:05:58
Document root: /home/x/public_html
$path_to_site: /home/x/public_html
Textpattern path: /home/x/public_html/textpattern

Permanent link mode: section_id_title
open_basedir: /home/x:/usr/lib/php:/usr/local/lib/php:/tmp
upload_tmp_dir: /tmp
Temp folder: /tmp
Site URL: www.x.ca
PHP version: 4.3.10
Register globals: 1
server_time: 2005-11-29 17:09:47
MySQL: 4.0.25-standard
Locale: en_GB.UTF-8
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.10 FrontPage/5.0.2.2634a mod_ssl/2.8.22 OpenSSL/0.9.7a
Apache version: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.10 FrontPage/5.0.2.2634a mod_ssl/2.8.22 OpenSSL/0.9.7a

.htaccess file contents: ————————————
  1. DirectoryIndex index.php index.html
  2. Options +FollowSymLinks
  3. RewriteBase /relative/web/path/

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

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

Last edited by jenpasch (2005-11-29 23:46:28)

Offline

Board footer

Powered by FluxBB