WordPress.org

Ready to get started?Download WordPress

Forums

Yahoo Business Hosting doesn't allow .htaccess files? (10 posts)

  1. buskerdog
    Member
    Posted 3 years ago #

    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...

  2. elfin
    Moderator
    Posted 3 years ago #

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

  3. buskerdog
    Member
    Posted 3 years ago #

    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?

  4. buskerdog
    Member
    Posted 3 years ago #

    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!

  5. buskerdog
    Member
    Posted 3 years ago #

  6. elfin
    Moderator
    Posted 3 years ago #

    ask their (yahoo) support about it.

  7. Samuel B
    moderator
    Posted 3 years ago #

    run from yahoo's antiquated servers, hosting, and tech - nothing but grief

  8. buskerdog
    Member
    Posted 3 years ago #

    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.

  9. buskerdog
    Member
    Posted 3 years ago #

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

  10. kryptonicwave
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic