[b]kada[/b] just enter any random number under the license.
[b]blackred[/b] anything for you man, thanks for sharing this script...
that's the .htaccess under the folder "burrow"
# In local: in httpd/conf/projects/dev1base.conf :
# alias /dev1base F:/projects/dev1base/trunk/..../webroot/
######################################
# Root .htaccess
# Case 1: When installing in root but without setting DOCUMENT_ROOT, e.g,
http://www.example.com/ :
# In the root above /app (say, public_html)
# -->
# Options +FollowSymLinks # needed for some hosts, especially GoDaddy
#<IfModule mod_rewrite.c>
# RewriteEngine on
# RewriteBase /app/
# RewriteRule ^$ webroot/ [L]
# RewriteRule (.*) webroot/$1 [L]
# </IfModule>
# <--
# Case 2: When installing in folder next to root, e.g.,
http://www.example.com/dev1base/ :
# In the root above /app (say, public_html/dev1base/)
# -->
#<IfModule mod_rewrite.c>
# RewriteEngine on
# RewriteBase /dev1base/app/
# RewriteRule ^$ webroot/ [L]
# RewriteRule (.*) webroot/$1 [L]
# </IfModule>
########################################
# This .htaccess
# Case 1: When installing in root but without setting DOCUMENT_ROOT, e.g,
http://www.example.com/ :
#<IfModule mod_rewrite.c>
# RewriteEngine on
# RewriteBase /app/
# RewriteRule ^$ webroot/ [L]
# RewriteRule (.*) webroot/$1 [L]
# </IfModule>
# Case 2: When installing in folder next to root, e.g.,
http://www.example.com/dev1base/ :
#<IfModule mod_rewrite.c>
# RewriteEngine on
# RewriteBase /dev1base/app/
# RewriteRule ^$ webroot/ [L]
# RewriteRule (.*) webroot/$1 [L]
# </IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /burrow/app/
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
and under the folder "app"
# In local: in httpd/conf/projects/dev1base.conf :
# alias /dev1base F:/projects/dev1base/trunk/..../webroot/
######################################
# Root .htaccess
# Case 1: When installing in root but without setting DOCUMENT_ROOT, e.g,
http://www.example.com/ :
# In the root above /app (say, public_html)
# -->
# Options +FollowSymLinks # needed for some hosts, especially GoDaddy
#<IfModule mod_rewrite.c>
# RewriteEngine on
# RewriteBase /app/
# RewriteRule ^$ webroot/ [L]
# RewriteRule (.*) webroot/$1 [L]
# </IfModule>
# <--
# Case 2: When installing in folder next to root, e.g.,
http://www.example.com/dev1base/ :
# In the root above /app (say, public_html/dev1base/)
# -->
#<IfModule mod_rewrite.c>
# RewriteEngine on
# RewriteBase /dev1base/app/
# RewriteRule ^$ webroot/ [L]
# RewriteRule (.*) webroot/$1 [L]
# </IfModule>
########################################
# This .htaccess
# Case 1: When installing in root but without setting DOCUMENT_ROOT, e.g,
http://www.example.com/ :
#<IfModule mod_rewrite.c>
# RewriteEngine on
# RewriteBase /app/
# RewriteRule ^$ webroot/ [L]
# RewriteRule (.*) webroot/$1 [L]
# </IfModule>
# Case 2: When installing in folder next to root, e.g.,
http://www.example.com/dev1base/ :
#<IfModule mod_rewrite.c>
# RewriteEngine on
# RewriteBase /dev1base/app/
# RewriteRule ^$ webroot/ [L]
# RewriteRule (.*) webroot/$1 [L]
# </IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /burrow/app/
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
and then under the folder "webroot"
DirectoryIndex index.html index.php
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
#Force WWW
# RewriteCond %{HTTP_HOST} !^www
# RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [L,R=301]
#No WWW
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
# If installed in root without setting DOCUMENT_ROOT:
# RewriteBase /
# If installed in local or under a path say /burrow/: (otherwise, doesn't need RewriteBase)
RewriteBase /burrow/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
# gzip
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript text/css text/html
</IfModule>
# headers
<IfModule mod_headers.c>
<Files index.html>
# Add the X-YADIS-Location header to successful responses
# Replace the URL with the URL for your YADIS service discovery document.
Header onsuccess set X-YADIS-Location \
"/yadis.xml"
</Files>
</IfModule>
# browser caching
<IfModule mod_expires.c>
FileETag None
ExpiresActive On
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
# ExpiresByType video/x-flv "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
# special MIME type for icons
AddType image/vnd.microsoft.icon .ico
# now we have icon MIME type, we can use it
# my favicon doesn't change much
ExpiresByType image/vnd.microsoft.icon "access plus 3 months"
</IfModule>