hi,
i tried to use the rewriting function.. i switched in config, renamed _.htaccess...
when i call any page, then i get a 404!
what do i do wrong?
Cheers
SNap
rewriting
rewriting
'welcome to the real world!' datensysteme-lenk
If phpWCMS was not installed in your web root, you should uncomment these lines, replace "mysubdir" with your "actual" sub-directory name, and place the .htaccess file in "that" sub-directory:
Also, your web host may not allow you to use the following entries from .htaccess file, so you can try "commenting" them out "one-by-one" and re-try:
Code: Select all
# If phpwcms is installed in a subdirectory,
# sample: "mysubdir" then use this (remove #)
# if above lines doesn't work for you
# ===============================================
#RewriteBase /mysubdir
#RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.shtml$ /mysubdir/index.php?id=$1.$2.$3.$4.$5.$6
#RewriteRule ^(.+)\.shtml$ /mysubdir/index.php?$1
Code: Select all
# These settings are recommend
# Maybe you might have problems
# with other scripts that needs
# register_globals ON
php_flag magic_quotes_gpc Off
php_flag register_globals Off
404 is related to wrng .htaccess configuration as dexxus said, you'll have to recheck
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.
------------------------------------------------