Getting 404 on liferay guest page redirection - liferay

Getting 404 while redirecting to mydomain.com/web/guest/home
But if given mydomain.com/web/guest/ i am getting redirected properly. To be consistent across environments i want the redirection to mydomain.com/web/guest/home work properly.
I don't have any specific settings in my portal-ext.properties for auth.server.url
What could be the issue?
Regards,
Sankar

Related

Why does the redirect to page 404 in MODX not work?

I have correctly configured the resource id in the "site" section in the system settings. But when I enter a mysite/ non-existentaddress in the browser, instead of a redirect to 404, a redirect to the main page occurs
I tried to add in my htacceess file redirect to 404, but it didn’t help
So your error_page system setting has published resource ID as desired 404 page, right?
What do you see here https://www.redirect-checker.org/index.php checking yoursite/non-existentaddress URL?
This setting should work without any htaccess additions, please comment them if any.
BTW how about friendly URLs, is it active now?

Enable CSP on 404 page with CI4

I have turned Content Security Policy on in my App.php config file which works fine across all pages of my site. Except I am running a security scanner which detects that on 404 pages it isn't running.
Is there a setting in Codeigniter 4 I need to turn on so that CSP is enabled on 404 pages?
It turns out if you define your own 404 handler then this problem is automatically resolved.
The solution is to therefore adjust the following in your Config\Routes.php
$routes->set404Override('\App\Controllers\Site::error404');
Then in your controller create a 404 handling function (I called mine error404). However what is strange is you must echo your view and not return it. Not quite sure why but that fixed my problem.

Custom 404 error page generates 403

IIS 6.1 - Custom Error pages.
The web site is defined as www.url.com/mysite. Custom error pages have been defined for mysite. 404 and 500.100.
I can redirect to /mysite/500.htm and /mysite/400.htm.
I can set 500.100 to redirect to /global/500.htm and this works.
When I redirect 404 to /global/404.htm I get a 403 access denied error. (I also tried redirecting 404 to /global/500.htm just to make sure it was not file-specific rights.)
Directory browsing is enabled.
The page works if you browse directly to it.
Checked the iis log file for oddities.
Can anyone offer an explanation that might lead me in the right direction?

Joomla : whenever i change URL rewriting and enable htaccess get error

My site was working fine for the last couple of months and suddenly stopped working. and the issue was backend was working fine but the front end does not load at all.
then I contacted server providers they saying they have not done any changes to the server and asking me to contact Joomla support to see any in-depth errors. they even said they cant find any issues from the logs.
Then what I did was I reinstall VirtueMart (mind you this is an e-commerce site). then it started to work again from the front end. but I realize follow on pages aren't working. so what I did was I remove url re-writing and change the .htaccess code to txt.
so the issue I am having now is I can see index.php file in the URL. but whenever I try to change use url rewriting and enable .htaccess I get this error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster#domain.au and inform them of the time the error occurred, and anything you might have done that may have caused the error.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
anyone have any ideas?
Suddenly stopped working, without any change from your end ?
Try to step backward and recall anything you did before the issues.
The virtuemart re-installation should not have any relation with the SEF settings and the htaccess.
All these seem to be a combination of different issues.
Have you made any changes on the htaccess file ?
Go in Joomla Global configuration and disable SEF settings. Set URL rewriting to No. Then try to load pages in the front-end.
If you need SEF URLs, follow these instructions about how to enable this feature in Joomla:
http://docs.joomla.org/Enabling_Search_Engine_Friendly_(SEF)_URLs

magento homepage 404 status

OK...I am going crazy...
I have a Magento store in a /store/ directory. The homepage displays fine and users are able to make purchases, but to bots it's showing a 404 status code.
So /store/ and /store/index.php are both 404 header responses but I can navigate to those pages and browse the website from there. I've never seen this before.....blah
When I crawl the site with Xenu from the http://www.mywebsite.com/store/ URL it says it's 404 and the title shows, "redir" so I am assuming there is some redirect somewhere that I am missing(?)....
Any help is appreciated...I may need to explain this better so if so, I will gladly :)
Thanks in advance!
I appreciate all the help!
Somehow, changing the CMS page assigned as the homepage fixed the problem. The original homepage was calling some entity that returned a 404 error in turn giving a 404 error for the entire page.
Really not sure what happened...but like I said, changing the CMS homepage solved the problem!
Have you tried browsing your site with browser and a user agent switcher? There are examples of Magento being unable to build collections when the user agent is one of the bots which is explicitly left out of the log information.

Resources