Jason
Jason
are you forcing all traffic over https?
Jason
I am having headaches setting my https
I have switched on config.php to https and restarted the apache server.
right now if I am going to http://mysite.com or https://mysite.com it is loading correctly (showing the https/ssl cert nicely) BUT from there on any button/link I click they are broken
https://__mysite__com/index -- broken
https://__mysite__com/join -- broken
https://__mysite__com/users -- broken
https://__mysite__com/events -- broken
ALL return 404
The requested URL /events was not found on this server.
Apache/2.4.7 (Ubuntu) Server at __mysite__com Port 443
what should I do next?
thank you
Unus
all the links work except the "home" which gets the browser to http://__mysite__.com/index and this one is the only one that returns 404.
he requested URL /events was not found on this server.
Apache/2.4.7 (Ubuntu) Server at __mysite__com Port 80now, if I go ahead and create a dummy index.html and place it next to index.php this page works great too.
I am lost... can someone shed some light?
here's my .htaccess cause you probably want to see it:
Options +FollowSymLinks
RewriteEngine On
AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
ForceType text/css
</FilesMatch>
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
RewriteCond %{REQUEST_URI} !/e500\.php
RewriteCond %{REQUEST_URI} !/captcha\.php
#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
the ssl works, all you have to do is to switch the http to https in the config.php
not redirect is needed, that was a major disturbance for me and led me to wrong paths and a lot of headache.
but you have to make sure you have this in your site.conf file site-ssl.conf file (apache2 ubuntu 14)
DirectoryIndex index.php index.html index.shtml index.htm default.html Default.htm default.html Default.html default.shtml Default.shtml page1.html index.pl index.cgi index.php3 index.phtml home.htm home.html home.shtml index.wml
Options FollowSymLinks
AllowOverride All
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all