Koozali.org: home of the SME Server

Unable to access newly created i-bay from web browser

Offline calisun

  • *
  • 620
  • +0/-1
Unable to access newly created i-bay from web browser
« on: May 07, 2017, 06:52:13 AM »
I have just created new i-bay with following settings:


but when I point to that i-bay in my web browser I get 403 Forbidden message


All previously created i-bays function fine, I have no problem accessing them in web browser..
I checked permissions of the i-bay and all folders inside, they are all the same as all other existing i-bays.
« Last Edit: May 07, 2017, 06:57:37 AM by calisun »
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

guest22

Re: Unable to access newly created i-bay from web browser
« Reply #1 on: May 07, 2017, 10:32:41 AM »
Please provide more details on server version, mode, contribs installed, yum updates and certificates if used.

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: Unable to access newly created i-bay from web browser
« Reply #2 on: May 07, 2017, 12:47:54 PM »
Is there anything interesting in /var/log/httpd/error.log or /var/log/httpd/access.log?

Offline calisun

  • *
  • 620
  • +0/-1
Re: Unable to access newly created i-bay from web browser
« Reply #3 on: May 08, 2017, 12:21:15 AM »
ugh, my bad. I set "force secure connection" option as enabled, but I was connecting using http not https.
That option threw me off because that option was not available last time I created an i-bay.

I think the message should be something else, like "secure connection required" or like some sites automatically redirect browser to https when they detect http connection.
"Forbidden" message is confusing and does not say what happened.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

guest22

Re: Unable to access newly created i-bay from web browser
« Reply #4 on: May 08, 2017, 08:43:46 AM »
I think the message should be something else, like "secure connection required" or like some sites automatically redirect browser to https when they detect http connection.
"Forbidden" message is confusing and does not say what happened.

That message is an Apache message, not an SME Server message. But I agree, maybe we should be a bit more informative if we enable additional options, thus adding complexity and simplify that at the same time. We need to live up to our 'simplicity'.

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Unable to access newly created i-bay from web browser
« Reply #5 on: May 08, 2017, 01:30:26 PM »
ugh, my bad. I set "force secure connection" option as enabled, but I was connecting using http not https.
That option threw me off because that option was not available last time I created an i-bay.

I think the message should be something else, like "secure connection required" or like some sites automatically redirect browser to https when they detect http connection.
"Forbidden" message is confusing and does not say what happened.

The error message would be difficult to change unless you personalize apache to make your own error page, and even there it would be difficult and not recommended to explain more about the error.

What could be done is to force redirect to htpps as it is done for server manager and webmail.

Would you open a new feature request in bugs.contribs.org and post link here ?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Unable to access newly created i-bay from web browser
« Reply #6 on: May 08, 2017, 03:17:36 PM »
I think calisun is asking for a clearer description in server-manager page :-)

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Unable to access newly created i-bay from web browser
« Reply #7 on: May 08, 2017, 03:32:16 PM »
I think calisun is asking for a clearer description in server-manager page :-)

then this is the "force secure connections" that should be changed to something more appropriate to reality : "Deny non secure connections". As currently nothing is force to go to SSL, it just refused if it is not !

But again for an user friendly use, I do not see the point of just denying instead of redirecting ....

Offline calisun

  • *
  • 620
  • +0/-1
Re: Unable to access newly created i-bay from web browser
« Reply #8 on: May 08, 2017, 05:22:11 PM »
Hi Jean-Philippe Pialasse,
as per your request I have created new feature request.
The link to the request is:

https://bugs.contribs.org/show_bug.cgi?id=10282
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Unable to access newly created i-bay from web browser
« Reply #9 on: May 08, 2017, 08:36:59 PM »
Calisun,

thank you for taking the time. I can not guarantee any timeline to see it implemented, but I feel this should be done!

Jean-Philippe

Offline calisun

  • *
  • 620
  • +0/-1
Re: Unable to access newly created i-bay from web browser
« Reply #10 on: November 27, 2017, 05:24:51 PM »
Hi Jean-Philippe and all,
I know that this thread is almost 6 moths old, but I think the redirect option is becoming critical and needs to addressed soon since google and firefox will now penalize sites that don't have secure sites. The issue is, many people will just type URL without https, and they will get "forbidden" message which will make them think that the site is down. But they just need to be redirected to https site when "Force Secure Connection" option is enabled, just like it is done now with server-manager and webmail.

SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: Unable to access newly created i-bay from web browser
« Reply #11 on: November 27, 2017, 06:10:32 PM »
Hi Jean-Philippe and all,
I know that this thread is almost 6 moths old, but I think the redirect option is becoming critical and needs to addressed soon since google and firefox will now penalize sites that don't have secure sites. The issue is, many people will just type URL without https, and they will get "forbidden" message which will make them think that the site is down. But they just need to be redirected to https site when "Force Secure Connection" option is enabled, just like it is done now with server-manager and webmail.

That's cos those 3 or 4 who actually do any code writing here right now have full time jobs doing other stuff and don't necessarily have the time to work on this at the minute.

There may also be other priorities which are higher than this.... they have just had to move the entire CVS repo off sourceforge to the Koozali infra as sourceforge was closing CVS - that took a lot of work, and was way more critical than this.

We all have other lives, and only 24 hours in the day.

Don't just wait for 'someone' to fix it - go have a look and see what you can find out about how it works and a possible solution. I'm sure if you start looking and ask sensible questions then people will give you a hand to look further. You can do that all on the bug you opened..... (and it is exactly how I started - you'll learn loads more too)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Unable to access newly created i-bay from web browser
« Reply #12 on: November 27, 2017, 08:30:48 PM »
simply install smeserver-webapps-common it will give you the behaviour you ask.

https://wiki.contribs.org/Webapps-common

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: Unable to access newly created i-bay from web browser
« Reply #13 on: November 27, 2017, 08:38:02 PM »
simply install smeserver-webapps-common it will give you the behaviour you ask.

https://wiki.contribs.org/Webapps-common

The poster is right... it would be nice to have a fix without resorting to more contribs. This should be default/core these days.

Just wanted to point out the realities of actually fixing it....
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Unable to access newly created i-bay from web browser
« Reply #14 on: November 27, 2017, 08:57:26 PM »
calisun

Quote
...... this thread is almost 6 months old.....

This Howto has existed for 10 years !
https://wiki.contribs.org/Https_redirection
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.