Skip to content
Snippets Groups Projects
Commit 1b4f5517 authored by alvaro's avatar alvaro
Browse files

Fixing install

parent e4b4defe
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,8 @@ echo "WARNING: Copying $root_htaccess as .htaccess in parent directory" ...@@ -115,7 +115,8 @@ echo "WARNING: Copying $root_htaccess as .htaccess in parent directory"
echo "" echo ""
echo "RewriteEngine on" > $parent_htaccess echo "RewriteEngine on" > $parent_htaccess
echo >> $parent_htaccess echo >> $parent_htaccess
echo "RewriteRule ^\$ $1/index.php [L]" >> $parent_htaccess newBase=`echo $basedir|sed -e "s|https\{0,1\}://[^\/]*||g"`
echo "RewriteBase $newBase" >> $parent_htaccess
cat $root_htaccess >> $parent_htaccess cat $root_htaccess >> $parent_htaccess
echo "RewriteRule ^(.+)\$ $1/index.php?q=\$1 [L]" >> $parent_htaccess echo "RewriteRule ^(.+)\$ $1/index.php?q=\$1 [L]" >> $parent_htaccess
mkdir cache mkdir cache
......
RewriteEngine on
RewriteRule ^$ lodspeakr/index.php [L] RewriteRule ^$ lodspeakr/index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !.*/index.php$ RewriteCond %{SCRIPT_FILENAME} !.*/index.php$
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment