[Typo3-civserv] CivServ, Navigationslinks tot ?

Ecki Gemmel gemmel at systemhaus-brandenburg.de
Fri Jun 3 13:10:34 CEST 2005


Hallo Alex dito exe

Das Problem mit dem URL-rewriting wurde hier bereits im Januar 
besprochen. Ich erlaube mir einfach nochmal ne' Kope an dieser Stelle:

1. htaccess Datei ins root des civserv Subdir's. Bei mir:

cms:/usr/local/typo3/htdocs/osiris # more .htaccess

RewriteEngine On
         RewriteBase /osiris

         RewriteRule   ^[^/]*\.html$     index.php


cms:/usr/local/typo3/htdocs/osiris #

-----------------------------------

2. rewriting in apache config:

rewriting in httpd.conf aktivieren:

cms:/usr/local/typo3/conf # less httpd.conf | grep rewrite

LoadModule rewrite_module modules/mod_rewrite.so

...

und

...

<Directory />
     Options FollowSymLinks
     AllowOverride None
</Directory>


<Directory "/usr/local/typo3/htdocs/osiris">
         Options -Indexes +FollowSymLinks +Includes
         DirectoryIndex index.php
         AllowOverride FileInfo
</Directory>

-----------------------------------

das wars, dann greift das Spiel entsprechend civserv Script-Teil:

/typo3conf/ext/pi1/static/setup.txt
<schnipp>
# ************************************* #
# ********* Define PAGE object ******** #
# ************************************* #


page = PAGE
page.typeNum = 0
page.bodyTag = <body>
page.config {
         doctype = xhtml_trans
         htmlTag_langKey = de
         removeDefaultJS = external
         xhtml_cleaning = all
         # Insert the following statements to your .htaccess for static 
docu-ments:
         #       RewriteEngine On
         #       RewriteRule   ^[^/]*\.html$  index.php
         simulateStaticDocuments = true
         simulateStaticDocuments_pEnc = md5
         simulateStaticDocuments_pEnc_onlyP = 
tx_civserv_pi1[mode],tx_civserv_pi1[community_id],tx_civserv_pi1[id],tx_civserv_pi1[pointer],tx_civserv_pi1[char],tx_civserv_pi1[sort],tx_civserv_pi1[pos_id],tx_civserv_pi1[sv_id],tx_civserv_pi1[sword],cHash
}
</schnipp>

-----------------------------------

das wars. Ich hoffe, es hilft Euch.


Ecki Gemmel
Brandenburg





> hi leute, hab das problem das in meiner navigationsleiste alle links tot 
> sind...
> 
> sie verweissen immer auf solche adressen "313+M5dcc8f0b9d4.0.html" ich 
> versteh da den zusammenhang nicht richtig...



More information about the Typo3-project-civserv mailing list