SOURCES: joomla-http.conf (NEW) - apache config for joomla
baggins
baggins at pld-linux.org
Thu Feb 2 19:14:46 CET 2006
Author: baggins Date: Thu Feb 2 18:14:45 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- apache config for joomla
---- Files affected:
SOURCES:
joomla-http.conf (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/joomla-http.conf
diff -u /dev/null SOURCES/joomla-http.conf:1.1
--- /dev/null Thu Feb 2 19:14:45 2006
+++ SOURCES/joomla-http.conf Thu Feb 2 19:14:40 2006
@@ -0,0 +1,38 @@
+Alias /joomla /usr/share/joomla/
+
+<Directory /usr/share/joomla/>
+ Options +FollowSymLinks
+ AllowOverride None
+ order allow,deny
+ allow from all
+
+ #
+ # mod_rewrite in use
+ #
+ <IfModule rewrite_module>
+ RewriteEngine On
+
+ ##
+ ## NOTE!
+ ## When using multiple Joomla sites or other web applications in sub-folders,
+ ## you must explicitly turn the RewriteEngine off or use the settings
+ ## recommended for the application
+ ##
+
+ # Uncomment following line if your webserver's URL
+ # is not directly related to physical file paths.
+ # Update YourJoomlaDirectory (just / for root)
+
+ # RewriteBase /YourJoomlaDirectory
+
+ #
+ # Rules
+ #
+
+ RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteRule ^(.*) index.php
+ </IfModule>
+</Directory>
+
================================================================
More information about the pld-cvs-commit
mailing list