reiniger Posted August 22, 2013 Report Share Posted August 22, 2013 Sveiki. Izmantoju CodeIgniter un tur man datus saglabā *.xls failā. Visa saglabāšana uz serveri notiekas bez problēmām, bet kad vēlos šo failu atvērt tad man ir error un neļauj atvērt. mans .htaccess RewriteEngine on RewriteCond $1 !^(index\.php|images|css|js|xls|img|favicon\.ico|robots\.txt) RewriteRule ^(.*)$ /test/index.php?/$1 [L] Kad noņemu nost .htaccess, tad bez problēmām varu lejuplādēt xls! Mapes permission ar izmēģinājos. Tagad stāv 755. Man ar .htacces kādu triku vajag? Quote Link to comment Share on other sites More sharing options...
reiniger Posted August 22, 2013 Author Report Share Posted August 22, 2013 (edited) Atrisināju problēmu. .htaccess RewriteEngine on RewriteCond $1 !^(index\.php|images|css|js|xls|img|favicon\.ico|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /test/index.php?/$1 [L] Edited August 22, 2013 by reiniger Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.