masteryoda
masteryoda

Reputation: 282

kohana site on localhost is not working with https://

I have a website written with kohana. I want to test it if its working with ssl. I have ssl module installed (ubuntu default ssl configuration). The problem is: all my websites using kohana on localhost (apache) not working with https:// (only main pages are working for example: "https:localhost/kohanasite" is working, but if i give controller and action it is not working, but if i ad index.php before controler and action it is working again). Other websites (not written with kohana) are working properly. My htaccess is as follows:

RewriteEngine On

RewriteBase /sitename/

Order Deny,Allow Deny From All

RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]

RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule .* index.php/$0 [PT]

php_value allow_url_fopen on php_value allow_url_include 1

Plese help.

Upvotes: 0

Views: 440

Answers (1)

mobal
mobal

Reputation: 352

You need to create a new Apache configuration for the https sites too. Enable the module is not enough. How do I allow HTTPS for Apache on localhost?

Upvotes: 1

Related Questions