The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

need help to set forwards in index.html

Discussion in 'General Discussion' started by anuyukti, Feb 18, 2010.

  1. anuyukti

    anuyukti Registered

    Joined:
    Feb 18, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    hi,
    I am new to cPanel. I have been trying to set up a forward in index.html under public_html folder, but i have not been able to do that successfully. I absolutely have no idea where i am going wrong.

    I have a folder called LRTF under webapps, and LRTF folder has its own index.html. my domain name is aftertelepathy.com; so i put a line in index.html (of public_html folder), which says
    <frame name="Product" scrolling="yes" noresize target="prd" src="http://www.aftertelepathy.com/LRTF/index.html">.

    i receive error like this:
    Not Found

    The requested URL /LRTF/index.html was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.28 PHP/5.2.9 Server at http://www.aftertelepathy.com/ Port 80

    can someone help.

    thanks in advance.
     
    #1 anuyukti, Feb 18, 2010
    Last edited by a moderator: Feb 18, 2010
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The file does not exist though.
    aftertelepathy.com/LRTF/index.html

    I'm not sure exactly what you're trying to do, but you might try using the Redirects tool in your cPanel. Redirecting from:

    aftertelepathy.com/index.html
    to
    aftertelepathy.com/LRTF/index.html

    Or simply add a meta refresh if that's all you need:


    <meta http-equiv="refresh" content="5;url=http://example.com/" />


    http://en.wikipedia.org/wiki/Meta_refresh
     
  3. Kailash1

    Kailash1 Well-Known Member

    Joined:
    Nov 27, 2006
    Messages:
    252
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    The file LRTF/index.html doesn't exist hence you are receiving 404 error.

    Also, instead of using META refresh, I suggest you to do redirection using PHP code or .htaccess. Some browser may not support META redirection and your page may not redirect.

    - Kailash
     
  4. anuyukti

    anuyukti Registered

    Joined:
    Feb 18, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    hey thanks for the replies.

    index.html exists under the folder LRTF.i think you are right..it has got something to do with meta tags...might try some other options..dont know how to do with .htaccess, though.
     
Loading...

Share This Page