IPB

Willkommen, Gast ( Anmelden | Registrierung )

 
Reply to this topicStart new topic
> Various Rewrite Rules
Wertung 4 V
jan
Beitrag Dec 17 2008, 18:27 PM
Beitrag #1


Administrator
***

Gruppe: Admin
Beiträge: 552
Mitglied seit: 1-June 05
Wohnort: germany, hassia, bickenbach
Mitglieds-Nr.: 1



Various rewrite rules. Verstehe nicht alles, vielleicht ist etwas nützliches dabei, was man sich abschauen kann.

CODE
<Directory /var/www/backend/var/content>
  Options FollowSymLinks
  Order Deny,Allow
  Allow from All
</Directory>

<Location /xbox-intl/static>
  PerlHeaderParserHandler mobileframework::mogilefs::headerparser2->handler
  Allow from All
</Location>

Alias /xbox-cms-preview/uploaded /var/www/backend/var/xbox-cms/upload
<Location /xbox-cms-preview/uploaded>
  PerlHeaderParserHandler mobileframework::mogilefs::headerparser2->handler
  Allow from all
</Location>

RewriteEngine On
#RewriteLog
/tmp/rewrite.log    
#RewriteLogLevel 10
RewriteRule ^/legacy/(.*)$ /php-backend/web/engine.php/$1 [L] # php-backend-1 rule
RewriteRule ^/content/(.*)$ %{DOCUMENT_ROOT}/var/content/$1 [L] # php-backend-1 rule
RewriteRule ^/([^/]*)/(images?|snippets?|css|ringtones?|wallpapers?|static|sounds?|js|modules)/(.*)$ %{DOCUMENT_ROOT}/var/content/$1/$2/$3 [L]
RewriteCond %{REQUEST_FILENAME} !^/xbox-cms-preview/uploaded/(.*)
RewriteRule ^(.*)$ /php-backend-2/web/engine.php%{REQUEST_URI} [QSA,L]
</VirtualHost>


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 Besucher lesen dieses Thema (Gäste: 2 | Anonyme Besucher: 0)
0 Mitglieder:

Collapse

> Similar Topics

  Thema Replies Topic Starter Views Last Action
No New Posts Pinned: Rewrite Rules
abschauen / anpassen
0 jan 13,061 18th November 2006 - 00:35 AM
Last post by: jan


 

- Vereinfachte Darstellung Aktuelles Datum: 16th December 2019 - 04:37 AM