Skip to content

Problems over https #357

@ddmo

Description

@ddmo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions