• I’m trying to set WP to appear in the root directory for a blog hosted on Yahoo Business Hosting but it won’t let me add an .htaccess file to the root or create one. Their site says this:

    The PHP community has identified certain PHP configurations and directives whose misuse can result in insecure code. To help protect all of our customers, the following options will be disabled for all accounts beginning October 1, 2009:

    * register_globals
    * allow_url_fopen and its corollary, allow_url_include

    These functions allow the developer to retrieve data, or open a file or retrieve file data, from a remote location, such as to load a site template from another file system. Note that for security concerns, register_globals is deprecated in PHP 5.3 and will soon be removed completely from PHP.

    You or your developer can use more secure methods to accomplish the same goals. You may be able to rewrite scripts using allow_url_fopen, for example, to reference files locally using relative paths. You can also cURL to retrieve your remote data.

    With allow_url_fopen and allow_url_include disabled, local inclusion using include(), include_once(), require(), and require_once() will still work normally.

    Although we support the use of PHP with your site, we cannot help you write or debug your scripts. For help updating your scripts, we recommend that you contact your developer, review the PHP community’s documentation on register_globals, or visit the PHP Group web site.

    You will not be able to edit your own php.ini or use htaccess to reenable these functions. For concerns about the impact of turning off these functions on your site, please contact customer care.

    I plan to call them but I was wondering if anyone had experience with this already…

Viewing 9 replies - 1 through 9 (of 9 total)
  • Anonymous User

    (@anonymized-3085)

    What you quoted has no mention of not allowing htaccess files on the site.

    Thread Starter buskerdog

    (@buskerdog)

    If I try to create a file and name it .htaccess with their file manager it says that it doesn’t recognize that file name format and if I try to upload a file it says I don’t have permission to do that, even though I’m logged in with the site owner’s account. Weird. Any ways around it?

    Thread Starter buskerdog

    (@buskerdog)

    I tried creating a text file called “htaccess” which worked, then renaming it to .htaccess and that failed: Rename failed for htaccess
    — Invalid filename

    Annoying!

    Thread Starter buskerdog

    (@buskerdog)

    Anonymous User

    (@anonymized-3085)

    ask their (yahoo) support about it.

    run from yahoo’s antiquated servers, hosting, and tech – nothing but grief

    Thread Starter buskerdog

    (@buskerdog)

    Yeah… I’ll suggest it to the owner of this site. But I have a feeling they’re too wrapped up in their current account to change. We’ll see.

    Thread Starter buskerdog

    (@buskerdog)

    Sooo… What host are people loving these days? I pretty much hate every host I’ve ever used.

    adding /index.php/ at the beginning of your permalinks so like this example

    /index.php/%year%/%monthnum%/%postname%/

    will fix the issues related to Yahoo’s .htaccess file or it did for me.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Yahoo Business Hosting doesn't allow .htaccess files?’ is closed to new replies.