normally that wouldn't work cause options etc. aren't usually allowed in .htaccess ...
you have to get access to your virtual host entry or the httpd.conf and set it up there ... or call the admin to enable executing options etc. in .htaccess, but i don't know if that's possible at the moment.
REWRITE UPDATED
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
Hi Jan212,
I just installed the new version RC3 ( 04-23/04 ). The core included your .htaccess re-write hack. The out put url now is not mypage.html put index.php?mypage, what am I missing? Please advise!
Many thanks.
System FreeBSD (i386) 4.9-RELEASE
php 4.3
URL http://realestatebuyingselling.com/home
I just installed the new version RC3 ( 04-23/04 ). The core included your .htaccess re-write hack. The out put url now is not mypage.html put index.php?mypage, what am I missing? Please advise!
Many thanks.
Code: Select all
php_flag magic_quotes_gpc Off
php_flag register_globals Off
# Rewrite functionality for phpwcms
# optimized by Jan212
# 18-04-2004
DirectoryIndex index.html index.php
RewriteEngine On
# IF PHPWCMS IS INSTALLED IN YOUR WEB ROOT
# This will rewrite 0.0.0.0.0.0.shtml => index.php?id=0.0.0.0.0.0
#RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.shtml$ index.php?id=$1.$2.$3.$4.$5.$6
# This will rewrite mypage.shtml => index.php?mypage
#RewriteRule ^(.+)\.shtml$ index.php?$1
# If phpwcms is installed in a subdirectory,
# sample: "phpwcms" then use this (remove #)
# ===============================================
RewriteBase /home
# This will rewrite 0.0.0.0.0.0.shtml => index.php?id=0.0.0.0.0.0
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.shtml$ /home/index.php?id=$1.$2.$3.$4.$5.$6
# This will rewrite index-mypage.shtml => index.php?mypage
RewriteRule ^(.+)\.shtml$ /home/index.php?$1
#THIS IS FOR REWRITE LOGGING
#RewriteLog "/absolute/path/to/the/rewrite.log"
# 0 = Logging disabled, 9 = highest level of logging, only for debugging
#RewriteLogLevel 3
php 4.3
URL http://realestatebuyingselling.com/home
-
- Posts: 47
- Joined: Sat 21. Feb 2004, 14:24
- Location: Belgium
I thought I did. Let me check againbertalizer wrote:Have you setcmslover wrote:Hi Jan212,
I just installed the new version RC3 ( 04-23/04 ). The core included your .htaccess re-write hack. The out put url now is not mypage.html put index.php?mypage, what am I missing? Please advise!
$phpwcms["rewrite_url"] = 1;
in conf.inc.php?
B.