Skip to main content

.htaccess file for GlassFish

No replies
Joined: 2012-03-02

Hi All,

Can anyone change this htaccess file (Used in Apache Server) to the new one (to be used on GlassFish Server)?

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Actually, this .htaccess file is for Apache Server but i have GlassFish Server on which i am running PHP.
My website is not working due to .htaccess file.

Please help.