how to remove index.php
http://103.4.217.199/~xxxx/index.php/menu
to
http://103.4.217.199/~xxxx/menu
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
Not working
how to remove index.php
http://103.4.217.199/~xxxx/index.php/menu
to
http://103.4.217.199/~xxxx/menu
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
Not working
running from an IP address type URL
** -----------------------**
<ifModule mod_headers.c>
Header set Access-Control-Allow-Origin: *
</ifModule>
RewriteEngine on
RewriteBase /~xxxx/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|css|js|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]