Jump to content

Recommended Posts

Posted

For JSP files, sohamb03 has the solution.

 

For WAR files, this configuration is not supported. You'd need to just put a redirect in the root folder to redirect into the (invisible) Hbitsinfo folder. A simple index.php file can do that. Place it in public_html, set permissions to 644, and it should work.

<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: /Hbitsinfo/");
die("Redirect failed");
?>
  • Like 1
Posted

 

For JSP files, sohamb03 has the solution.

 

For WAR files, this configuration is not supported. You'd need to just put a redirect in the root folder to redirect into the (invisible) Hbitsinfo folder. A simple index.php file can do that. Place it in public_html, set permissions to 644, and it should work.

<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: /Hbitsinfo/");
die("Redirect failed");
?>

This worked. Thank you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...