Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th November 2013, 21:04
experience experience is offline
Junior Member
 
Join Date: Nov 2013
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default 403 Forbidden when using SSL in magento admin

When i enable SSL for my magento admin and goto the login page no CSS or layout files are loaded

Normal


SSL Enabled



When i try to login i receive a 403 forbidden error and cant access the login page again. I notice that SSL URL changes to a non secure URL which is why i presume i receive the 403

If i manually add https to the non secure URL the layout is broken and non of the links work



However the front side of the website has no issue over SSL

In my error.log

Quote:
[error] [client xx.xx.xxx.xxx] client denied by server configuration: /var/www/mysite.co.uk/web/index.php
grep client1 /etc/group
Quote:
client1:x:5005:www-data
grep web1 /etc/passwd
Quote:
web1:x:5004:5005::/var/www/clients/client1/web1/./home/web1:/bin/false
ls -la /var/www/clients/client1/web1

Quote:
drwxr-xr-x 12 root root 4096 Nov 2 00:30 .
drwxr-xr-x 3 root root 4096 Oct 29 15:44 ..
drwxr-xr-x 2 web1 client1 4096 Nov 6 14:09 backup
drwxr-xr-x 2 web1 client1 4096 Oct 29 15:44 cgi-bin
drwxr-xr-x 2 root root 4096 Nov 1 12:56 etc
drwxr-xr-x 2 root root 4096 Nov 6 18:31 log
drwx--x--- 2 web1 client1 4096 Oct 29 15:44 private
drwxr-xr-x 2 web1 client1 4096 Nov 4 19:01 ssl
drwxrwxrwx 2 web1 client1 4096 Nov 6 14:08 tmp
drwxr-xr-x 3 root root 4096 Nov 1 12:56 var
drwxr-xr-x 16 web1 client1 4096 Nov 6 17:54 web
drwx--x--- 2 web1 client1 4096 Oct 29 15:44 webdav
O/S Ubuntu 12.04

I chowned the SSL ownership from root root to web1 client 1 which hasnt done anything

No other logs show what could be causing this

Could it be a redirect issue when trying to login on a SSL address which is being redirected to a non secure URL and if so any idea where to look for this?

Last edited by experience; 6th November 2013 at 21:10.
Reply With Quote
Sponsored Links
  #2  
Old 6th November 2013, 21:44
experience experience is offline
Junior Member
 
Join Date: Nov 2013
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Overlooked the obvious

There are 2 secure URL entries in the core_config_data magento database

The 2nd one was pointing to the non secure address - changed it to https and i now have a secure admin
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
403 Forbidden at Admin Panel arto0 Installation/Configuration 3 19th September 2013 13:00
Need help with ISPConfig 3 Update midcarolina Installation/Configuration 36 8th November 2011 23:07
Error 403 abintipl Installation/Configuration 7 31st October 2011 15:02
add web site serr57 Installation/Configuration 18 13th April 2008 12:40
IMAP doesn't work..as i followed the Perfect Setup for Fedora 4 asokaajay Server Operation 11 10th June 2007 15:57


All times are GMT +2. The time now is 16:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.