Jump to content

yoyo

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by yoyo

  1. Have the file end with .php and enclose your code in <?php and ?> tags.

     

    Thanks DJBob. Due to certain reasons I dont want to rename my files from .HTML to .PHP. I've included the PHP code within correct tags in my HTMLs.

     

    I found another option by creating An Apache Handler in cPanel here.

    I clicked on the "Apache Handlers" icon then typed in "application/x-httpd-php" for .html but nothing changed.

     

    Any other suggestions?

     

    Thanks...

  2. Test Browser: K-Meleon 1.5

    cPanel UserName: yoyo

    Domain: yoyo.heliohost.org

     

    Before renaming .htaccess to .ht (and adding some commands to it)

     

    http://yoyo.heliohost.org/letsyo/index.html was working fine and http://yoyo.heliohost.org/letsyo/ was showing the "File Download" dialog. Now the behaviour is reversed.

     

    Also I still don't know how to configure the web-server to process the PHP in my HTML files before serving them to the client web-browser. Hence all pages in the letsyo directory are showing up without the top and right links bar which are embedded via PHP code in my HTML pages.

     

    I wish to move my website from my existing host to here.

     

    The website should look like http://sukhjinder.cn and http://sukhjinder.cn/letsyo. My original host is migrating data to another server so the web-site shows the "Apache Test Page" sometimes. If you try visiting/refreshing the web-page a few times you might see how my site looks.

     

    Thanks DJBob and everyone else.

    Sukhjinder...

  3. Hi there,

     

    domain: http://yoyo.heliohost.org

    cPanel username: yoyo

     

    When I access my website as http://yoyo.heliohost.org then my web-browser shows a "File Download" Dialog but works fine if I access http://yoyo.heliohost.org/index.html. Same is the case for URL http://yoyo.heliohost.org/letsyo, works fine as http://yoyo.heliohost.org/letsyo/index.html. I want that if a fine name is not provided in the end of a URL then the web-server should automatically send the index.html file.

     

    Another thing

    In my HTML files I have embedded certain code (links) via PHP.

    We can request the web-browser to process .html files as PHP files by adding the following line to .htaccess

    AddType application/x-httpd-php .html

     

    so that PHP tags embedded in HTML files can also be processed by the web-server before serving the requested HTML.

     

    While this approach works fine with my other host it does not work here.

    Try accessing http://yoyo.heliohost.org/letsyo/index.html, there should have been a top and side links bar. There is none.

    Works fine if I rename my HTMLs with PHP code to PHP.

     

    Please suggest the needful.

     

    Thanks

    Sukhjinder...

  4. I'd like to know for how long have you been running this service and how safe is it to have a website with you.

    I tried with a hosting service started by 2 young guys. The website closed after few months. I don't want to go through the same again.

     

    So please rid me of my doubts and worries. :rolleyes:

     

    Thanks...

  5. Access to http://yoyo.heliohost.org:2082/frontend/x3...stico/index.php gave the following error

    Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it's current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings.

     

    cPanel username: yoyo

     

    I want to install Gallery2 into my account via Fantastico.

    Please do/suggest the needful.

     

    Thanks...

×
×
  • Create New...