Ich hab ein kleines Problem mit XAMPP und Typo3 in Verbindung mit CoolURI.
Schätze es liegt an der Serverkonfiguration.
Sobald ich CoolURI anschalte werden zwar die URLs schön generiert, jedoch funktonieren die Seiten nicht (404rer).
Meine hosts sieht so aus:
- Code: Select all
127.0.0.1 www.projectx.at
die vhosts vom apache:
- Code: Select all
<VirtualHost 127.0.0.1>
ServerName www.projectx.de
ServerAlias projectx.localhost
AddType text/html .shtml
AddHandler server-parsed .shtml
ServerAdmin webmaster@projectx.de
DocumentRoot "c:/xampp/htdocs/projectx"
ScriptAlias /cgi-bin/ "c:/xampp/htdocs/projectx/cgi-bin/"
<Directory "c:/xampp/htdocs/projectx">
Options Indexes FollowSymLinks
Options +Includes
AllowOverride FileInfo
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.php index.shtml index.html index.htm
</Directory>
</VirtualHost>
in der httpd.conf ist natürlich mod_rewrite drin:
- Code: Select all
LoadModule rewrite_module modules/mod_rewrite.so
und in der typoscripts schauts so aus:
- Code: Select all
config.baseURL = http://www.projectx.de
conifg.tx_cooluri_enable = 1
außerdem gibts einen domain datensatz mit dem wert "www.projectx.de" im feld "domainName"
die htaccess schaut folgendermaßen aus:
- Code: Select all
RewriteEngine On
RewriteBase /
RewriteRule ^typo3$ typo3/index_re.php [L,NE,PT]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* /index.php [L,NE,PT]
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
ErrorDocument 404 /
ErrorDocument 403 /
<Files *.ts>
order allow,deny
deny from all
</Files>
Options -MultiViews -Indexes
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm
AddType audio/mpeg .mp3
AddType audio/ogg .ogg
AddType audio/mp4 .m4a
AddType audio/wav .wav
wäre echt SEHR dankbar, wenn irgendjemand einen Tipp hätte.
Wie gesagt, URLs sehen im HTML super aus (z.B. "www.projectx.de/de/news") - aber wenn man dann draufgeht kommt der 404rer.
Falls ich noch irgendwelche Infos liefern soll - bitte einfach sagen!
VIELEN DANK!!!
Michi