You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've write a webapp locally over http... and goes great!
But uploading on a sever (where I can't manage apache or php configuration or check log file) each call fails with 404 error.
The difference, I suppose, is the protocol... Https.
This is my .htaccess:
`
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
RewriteEngine On
RewriteRule ^(app|dict|ns|tmp)/|.ini$ - [R=404]
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L,QSA]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
`
It is correct also for https?! Thanks a lot
The text was updated successfully, but these errors were encountered:
can you show us a screenshot of the error?
this could tell us if the error you see, is from f3 or from apache.
The difference, I suppose, is the protocol... Https.
if you upload it to the server, does http give the same error as https?
It is correct also for https?
i never had issues with the default .htaccess, it always worked with both.
one thing that comes in my mind, some hostings use different subfolders for https, make sure both settings for http and https point to the same folder.
Hi, I've write a webapp locally over http... and goes great!
But uploading on a sever (where I can't manage apache or php configuration or check log file) each call fails with 404 error.
The difference, I suppose, is the protocol... Https.
This is my .htaccess:
`
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
RewriteEngine On
RewriteRule ^(app|dict|ns|tmp)/|.ini$ - [R=404]
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L,QSA]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
`
It is correct also for https?! Thanks a lot
The text was updated successfully, but these errors were encountered: