2007/9/12, Daniel Brown <[EMAIL PROTECTED]>:
> On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:
> > There's only one problem left to be solved. After the upgrade php
> > scripts behave as if they were not recognized. I made a test and put a
> > standard index.html file in a directory, called a browser and the page
> > was displayed properly. I then changed the page name to index.php and
> > ran the browser again. This time the directory content was displayed,
> > showing the index.php file present in it (it wasn't parsed by the
> > browser). When I reloaded, the page content was finally displayed in a
> > browser.
> >
> > So in other words it seems as if the "php" page was not properly
> > parsed at first. It happens the same way with my wordpress family
> > blog. It just shows directory content and when I click refresh
> > index.php is called into the broser. But links to further php pages
> > result in directory being shown again.
> >
> > I do have:
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php-source .phps
> > inside httpd.conf.
> >
> > Thoughts anyone? Again thank you so much for so many responses. I read
> > them all and they were very helpful!
>
>     Add index.php to your DirectoryIndex area of httpd.conf and that
> will fix it.

Thank you but I think it is already there?

<IfModule mod_dir.c>
    <IfModule mod_php3.c>
        <IfModule mod_php4.c>
            DirectoryIndex index.php index.php3 index.html
        </IfModule>
        <IfModule mod_php5.c>
            DirectoryIndex index.php index.php3 index.html
        </IfModule>
        <IfModule !mod_php4.c>
            DirectoryIndex index.php3 index.html
        </IfModule>
    </IfModule>
    <IfModule !mod_php3.c>
        <IfModule mod_php4.c>
            DirectoryIndex index.php index.html
        </IfModule>
        <IfModule !mod_php4.c>
            DirectoryIndex index.html
        </IfModule>
    </IfModule>
</IfModule>

Thanks again!

Zbigniew Szalbot

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to