surrealroad / Safari-Push-Notifications

Reference Server for pushing Safari Notifications via Apple Push Notification Service For use with Safari Push Plugin for Wordpress (https://github.com/surrealroad/wp-safari-push)
23 stars 9 forks source link

I'm trying to change the index.php to something else #6

Closed DohaSoul closed 10 years ago

DohaSoul commented 10 years ago

I changed the index.php to push.php and changed the .htaccess from:

RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]

to:

RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ push.php/$1 [L]

it worked perfect..

but now the 404 error page is not working, it redirect the visitors to push.php instead of 404 error page.

Is there any way to fix that with .htaccess?

surrealroad commented 10 years ago

no idea I'm afraid. Also be sure that https://yoursite/v1/pushPackage still works after changing the htaccess file.