Hallo zusammen,
ich habe 2 Typo3-Instanzen auf einem Server und bekomme ununterbrochen die Fehlermeldung
[error] File does not exist: /var/www/typo3conf, referer: http://XX/content/typo3/mod.php?M...
Ich verwende realurl mit urltool und modrewrite. Config wie folgt. Der vhost zeigz auf /var/www/content.
Ich komme damit einfach nicht weiter. Vielen Dank im Voraus!
Gruß Markus
baseURL = http://XX/content/
RewriteBase /
# Rule for versioned static files, configured through:
# - $TYPO3_CONF_VARS['BE']['versionNumberInFilename']
# - $TYPO3_CONF_VARS['FE']['versionNumberInFilename']
# IMPORTANT: This rule has to be the very first RewriteCond in order to work!
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L]
# Basic security checks
# - Restrict access to deleted files in Recycler directories
# - Restrict access to TypoScript files in default templates directories
# - Restrict access to Private extension directories
# For httpd.conf, use these lines instead of the next ones:
RewriteRule ^content/fileadmin/(.*/)?_recycler_/ - [F]
RewriteRule ^content/fileadmin/templates/.*(\.txt|\.ts)$ - [F]
RewriteRule ^content/typo3conf/ext/[^/]+/Resources/Private/ - [F]
#RewriteRule ^fileadmin/(.*/)?_recycler_/ - [F]
#RewriteRule ^fileadmin/templates/.*(\.txt|\.ts)$ - [F]
#RewriteRule ^typo3conf/ext/[^/]+/Resources/Private/ - [F]
# Stop rewrite processing, if we are in the typo3/ directory.
# For httpd.conf, use this line instead of the next one:
RewriteRule ^content/(typo3/|t3lib/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L]
#RewriteRule ^(typo3/|t3lib/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L]
# Redirect http://example.com/typo3 to http://example.com/typo3/index_re.php and stop the rewrite processing.
# For httpd.conf, use this line instead of the next one:
RewriteRule ^/content/typo3$ /TYPO3root/typo3/index.php [L]
#RewriteRule ^typo3$ typo3/index_re.php [L]
# If the file/symlink/directory does not exist => Redirect to index.php.
# For httpd.conf, you need to prefix each '%{REQUEST_FILENAME}' with '%{DOCUMENT_ROOT}'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
#
# Main URL rewriting.
# For httpd.conf, use this line instead of the next one:
RewriteRule .* content/index.php [L]
#RewriteRule .* index.php [L]
</IfModule>
### End: Settings for mod_rewrite ###