Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter desertman

    (@desertman)

    Thanks! Found it!

    Thread Starter desertman

    (@desertman)

    Hello again,

    Below is the text from the now disabled .htaccess file. It has obviously been put there by the previous webmaster (I just took this website over).

    The reason why PHP and the blog did not work seems to be that I changed the name of the sub-directory where the blog files are in.

    Is here someone who understands such a file? Would it make sense to put this file (with the correct directory name) into action again?

    desertman

    **********************************************
    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName https://www.domainname.com
    AuthUserFile /home/xxxxxx/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/xxxxxx/public_html/_vti_pvt/service.grp
    AddHandler application/x-httpd-php .php .html .htm

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /OldDirectoryName/

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /OldDirectoryName/index.php [L]

    </IfModule>
    **********************************************

    Thread Starter desertman

    (@desertman)

    I figured that this file is not neccessary and renamed it, both locally and on the server. Now the blog works. The rest of the website hopefully, too.

    Thanks for the help.

    The questions remain why there was this .htaccess file in the first place and what might have corrupted it.

    desertman

    Thread Starter desertman

    (@desertman)

    … ok, in Dreamweaver I can see this file locally and on the server in the root directory of the site (before I was only looking with my ftp client and did not see it).

    Now, should I rename it locally, wait for a new one to appear and then put it onto the server?

    desertman

    Thread Starter desertman

    (@desertman)

    Michael,

    Thanks for your reply.

    Where would I do this? On the server? In the directory where the blog is, or above? How do I rename an invisible file on the server?

    And, when I rename this file, does that mean that a new one gets generated automatically?

    desertman

    Thread Starter desertman

    (@desertman)

    Hello again,

    After contacting the hosting company I got now this answer from them:

    “We have examined your issue and it appears that your .htaccess file is coded improperly. We disabled the .htaccess file and uploaded test php and php5 files and there were no issues. Please correct your .htaccess file and you should no longer experience these issues.”

    How do I do this? I did reinstall the whole package already (from a newly unzipped original download) – that did not help. I also have to say that I don’t know what this .htaccess file is and where it normally would be (I just know that it must be an invisible file).

    Is this a file that is on the server only, or is it also somewhere on my computer? What should be in it?

    Thanks for your help … hopefully!

    desertman

    Thread Starter desertman

    (@desertman)

    … I’m wondering, since I see the content of php files as text, – could it be that I “lost” all php functionalities (or so)?

Viewing 7 replies - 1 through 7 (of 7 total)