Results 1 to 8 of 8
  1. #1

    Need Help Regarding Hosting a Site

    Hello! I have made new site I upload the site at my host.There are 2 .php files ads.php and footer.php.For including those files i need .HTACCESS. But when i add .HTACESS the site gives SERVER ERROR.

    Content of HTACCESSis :
    AddHandler application/x-httpd-php .html
    AddType application/x-httpd-php .php .htm .html

    Then i contacted my host about that problem.
    They said the server has phpsuexec enabled
    this server uses phpsuexec.And they said its a special security solution to prevent hacking etc.

    So i will be glad if some one can help me in including my .php files on phpsuexec enabled server.


  2. #2
    Join Date
    Nov 2005
    What are you trying to do!!!?
    GS RichCopy 360 Enterprise - Voted #1 for data migration and replication in terms of performance and features. Replicate data across between servers in the same network, WAS, or even across the internet

  3. #3
    i just need to know in server that has phpsuexec enabled.How can i include .PHP files

  4. #4
    Join Date
    Apr 2001
    Do you have only those 2 lines in your .htaccess?
    Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
    LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Email/Helpdesk Support
    Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
    DowntownHost LLC - In Business since 2001- West/Center/East USA - Netherlands - Singapore

  5. #5
    yes these lines to include .php files <? include('ads.php'); ?>

  6. #6
    Were you trying to make .html files php enabled ? If not, you really do not need the .htaccess files itself.

    You could however modify the .htaccess file to support mod_rewrite for your sites instead of having to modify the apache directives.

    I ran a PHPSuEXEC enabled server before and never had problem running php sites. - Offering Batch Image Processing and TIFF/PDF Software Solutions

  7. #7
    yes i am trying to make .html files php enabled. AS there are ads.php and footer.php files.So i need HTACCESS but when i add HTACCESS then it gives error.

  8. #8
    Ah okay. No clue about that. Usually it would have been to make PHP Rewrite as .HTML ?

    Is that possible to just either convert the site to .php based or either manually hardcode the ads and footer contents into the various html pages ? Since the ads are Adsense Ads and the Footer are static footer.

    PHPSuExec as far as I understand is there to protect the server from being manipulated from outside so perhaps the limitations. - Offering Batch Image Processing and TIFF/PDF Software Solutions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts