Treba da instaliram na server jednu aplikaciju (CMS sistem) i .htaccess mi pravi problem zato sto dobijem gresku
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Naravno kad skinem .htaccess fajl (tj samo ga preimenujem) nemam tu gresku, ali mi sistem prijavi da nemam instaliran Zend (mada sam pogledao na hostingu i pise da ga imam)
Ovako izgleda .htaccess fajl:
Code:
php_value upload_max_filesize "100M"
php_value post_max_size "100M"
php_flag display_errors off
<IfModule mod_deflate.c>
<FilesMatch "\.(js|css)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/x-javascript A3600
ExpiresByType text/css A86400
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#RewriteRule ^library/([0-9a-z]{32}_[0-9]+x[0-9]+).jpg$ index.php?q_url==files/library~file:$1 [QSA]
# .php|html hivatkozasokat es a nem letezo fajlokat az index.php-nak ad at.
RewriteCond %{REQUEST_URI} !^.*/tiny_mce/.*$
RewriteCond %{REQUEST_URI} \.(php|html?)$ [OR]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]*)\.?(.*)$ index.php?q_url=$1 [QSA]
</IfModule>
php_value upload_max_filesize "100M"
php_value post_max_size "100M"
php_flag display_errors off
<IfModule mod_deflate.c>
<FilesMatch "\.(js|css)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/x-javascript A3600
ExpiresByType text/css A86400
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#RewriteRule ^library/([0-9a-z]{32}_[0-9]+x[0-9]+).jpg$ index.php?q_url==files/library~file:$1 [QSA]
# .php|html hivatkozasokat es a nem letezo fajlokat az index.php-nak ad at.
RewriteCond %{REQUEST_URI} !^.*/tiny_mce/.*$
RewriteCond %{REQUEST_URI} \.(php|html?)$ [OR]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]*)\.?(.*)$ index.php?q_url=$1 [QSA]
</IfModule>
Sajt se nalazi u root-u poddomena (ako to ima neke veze) na powweb-u.
Kao sto vidite ima ta jedna recenica na Madjarskom, ali kad sam je preveo pomocu Google nisam dobio nista smisleno (Hungarian to English translation
references and the non-existing file with the index.php needs to give at)
Hvala na bilo kakvoj pomoci.
[Ovu poruku je menjao AstroDule dana 29.03.2010. u 23:43 GMT+1]
Nisam ja onaj Astrodule sto se pojavljuje na TV. "Astro" je od astronom, a ne od astrolog.
www.dusanpopovic.com
www.dusanpopovic.com