Jump to content

giorgi

New Members
  • Posts

    1
  • Joined

  • Last visited

giorgi's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hello i have issue about my php and vue js project. when i have this .htaccess file configurations : RewriteEngine On # Deliver the folder or file directly if it exists on the server RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f # Redirect every request to index.php RewriteRule ^ index.php [L] database connection is ok also not cors error at all but when i reload /add-product page it gives me 404 error when i searched this issue i fixed it with this .htaccess file configurations : <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule . /index.html [L] </IfModule> page reloading fixed but now i am getting cors error how can i fix it what can be issue?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.