Problem is that Apache does not show any errors in logs nor tailwatch etc etcRedEye wrote:The simple fact is that this error is a specific server side configuration issue (apache) related to error documents.
Leo
Moderators: mandville, General Support Moderators
Problem is that Apache does not show any errors in logs nor tailwatch etc etcRedEye wrote:The simple fact is that this error is a specific server side configuration issue (apache) related to error documents.
That means you say it's not a configuration issue?leolam wrote:Problem is that Apache does not show any errors in logs nor tailwatch etc etcRedEye wrote:The simple fact is that this error is a specific server side configuration issue (apache) related to error documents.
The patch solves the problem because it adds code to the .htaccess that overrides the Rewrite settings ... much in the same way as adding code to a local php.ini file can override the server php settings. Therefore the .htaccess was not the problem but a tool to use that fixes the problem.leolam wrote:...Also wrong since the patch changes the htaccess so this 'problem' does not occurs. ...From the thread and the issue tracker it appears that is not the .htaccess but the way the server handles directory Password protect in combination with mod_rewrite
My wording there does need clarification my apologies ... I will elaborate so that the OP can know the progress.leolam wrote:...Search the forums Kevin and you will see multiple threads similar to this one on different hosting providers.But it happens on your server configuration but not on others. It was your server configuration being similar to the OP's that enabled you to recreate the issue on your servers.
...
It has been demonstrated that when cPanel and the server set up are correctly then there is no error.mandville wrote:If its caused by using the hta wizard on cpanel (not akeeba ) the possibly it's a fault of the wizard not checking and creating a 403 page or 403 redirect and not joomla fault ?
http://issues.joomla.org/tracker/joomla-cms/4957brianteeman wrote:I have tested the situation on my siteground server running cpanel without making any changes or patches
the .htaccess was created in
/home/xxxxx/public_html/xxxx/administrator/passwd"
the .htpasswd was created in
/home/xxxx/.htpasswds/public_html/xxxx/administrator/passwd"
Using the core htaccess file and setting a passwd on the administrator folder I had NO problems at all.
If one site on their servers has that problem then of course they will be able to reproduce it on their servers.leolam wrote:... As posted on the Github also the System Administrators at Liquidweb (we use their datacenter) have been able to recreate the issue on their own systems. ...
Yes they are and it is your concerns combined with Leo being able to reproduce the error that prompted me to bring the issue up with the Devs and other bugsquad members.CobourgJohn wrote: As the person who originally posted the problem, perhaps my concerns are relevant. I don't have any way to change the configuration of my server or of CPanel. ...
And as only you and Leo are the only ones able to reproduce the error then your input would be very useful. If you could do 2 simple things it would help tremendously.CobourgJohn wrote: ... - I just thought Joomla developers would like to know that their latest htacess file is not universally usable. ...
Code: Select all
# and the requested non-existant file isn't a custom error file
RewriteCond %{REQUEST_URI} !^401.shtml$
RewriteCond %{REQUEST_URI} !^403.shtml$
Code: Select all
RewriteCond %{REQUEST_FILENAME} !-d
# and the requested non-existant file isn't a custom error file
RewriteCond %{REQUEST_URI} !^401.shtml$
RewriteCond %{REQUEST_URI} !^403.shtml$
# internally rewrite the request to the index.php script
You may have missed the post that said by simply placing a file named 401.shtml into the site root will resolve the problem.CobourgJohn wrote:...
Telling me to change how my server works or is configured does not solve anything.
No incorrect remark since we use different configs in Apache on several servers with different configs depending on server size, dedi versus VPS, etc, etc, etc. We have 192 dedi's and VPS' and do not run on "their" servers. Our settings are completely modified after a server is commissioned with our own configs and with security optimizations by ConfigserverWebdongle wrote:If one site on their servers has that problem then of course they will be able to reproduce it on their servers.leolam wrote:... As posted on the Github also the System Administrators at Liquidweb (we use their datacenter) have been able to recreate the issue on their own systems. ...
Just to be clear my suggestion was to test with a .htaccess that only contained 'Rewrite on'. The added code is what was suggested by Bakual. If you and the OP could test both suggestions that would be a great help.leolam wrote:...
We will test tomorrow your suggestion with pleasure ....
does not helpRewriteCond %{REQUEST_FILENAME} !-d
# and the requested non-existant file isn't a custom error file
RewriteCond %{REQUEST_URI} !^401.shtml$
RewriteCond %{REQUEST_URI} !^403.shtml$
# internally rewrite the request to the index.php script
NP all accepted. With this kind of stuff it is hard to diagnostic. I stayed out because I had no idea and let it be handled by my server team and the good people of Liquidweb.Webdongle wrote:Being unable to reproduce the error with any of the server settings that I've access to is very frustrating. If that frustration shows in any of my posts then I can only apologize.
If something is proven to work ... then when it doesn't work it means that something is not correct where it is not working. In both instances of when it worked and when it didn't work Joomla was the same and the .htaccess was the same. Therefore the only difference is with the server settings.leolam wrote:... when people just state" at my server at -xyZ- we don't have this so must be bad configured- You have read the LW system admin reaction to that remark on Github. That remark was placed between ""
...
Which states that alteration to the configuration fixed it ... and recommends Joomla devs find out why the 'bad configuration' broke their (Joomla) code.... it seems the configuration line:
ErrorDocument 401 /401.shtml
was the thing that was breaking it. I removed it from the main conf (where my colleague put it earlier) and from the default include where cPanel adds it as well.
It is working now, but the Joomla! developers should look into exactly why this "bad configuration" broke their code.