error 500

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oll3i
    Contributor
    • Mar 2007
    • 679

    error 500

    i want to run php app on zend but i get 500 error.
    my htaccess is as follows
    Code:
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^.*$ index.php [NC,L]
  • hemal8888
    New Member
    • Mar 2013
    • 9

    #2
    Try this One
    Code:
    RewriteEngine On 
    Options All -Indexes
    RewriteBase /directoryname/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    Comment

    • sudhakar1
      New Member
      • Jan 2014
      • 15

      #3
      Hi,
      Its solve the your 500 error
      Code:
      <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteBase /
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule . /index.php [L]
      </IfModule>

      Comment

      Working...