[Typo3-dev] Bug in .htaccess?
Martin-no$pam-Kutschker
"Martin-no$pam-Kutschker" at blackbox.n0spam.net
Thu Apr 29 17:03:13 CEST 2004
Michael Stucki wrote:
> Hi Martin-no$pam-Kutschker,
>
> well, just a note. Can you please remove this no$pam crap in your sender
> line? I don't think it's of any help, but it looks so ugly!
Yeah I know it sucks. I'm using Mozilla's messenger and the account has
the entry "Martin T. Kutschker", but the b**y program generates the name
from the email address!
>>I'm using this in a httpd.conf:
>>
>>RewriteEngine On
>>RewriteRule ^typo3$ typo3/index_re.php [L]
>>RewriteCond /srv/www/%{REQUEST_FILENAME} !-f
>>RewriteRule ^/[^/]*\.(html|pdf)$ /index.php [L]
>
> You forward PDF files to index.php? Why sould one want to do that??
Ah, that's just because we have the pdf_generator extension installed.
> Anyway, I don't like this example since it uses abolute paths. Still not
> perfect ;-)
How would you do it in a VirtualHost directive? I can create rewrite
rules, but it usually takes me some time, mostly spent on reading the
rewrite log :-(
Anyway, the "default" rules live in .htcaccess (ie a Location
directive), you don't need paths there. I just happen to disable
.htaccess for servers I manage, it's just an overhead if you administer
the whole machine.
Masi
More information about the TYPO3-dev
mailing list