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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...