[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Gah..apache issue..



Tjopp folks,

jag blir galen. Installerat upp en maskin med exakt (vad jag kan se) samma konf som jag har på minst 40 burkar till. Php4 webmail, när jag går till URL'en så försöker den ladda ned index.php istället för att exekvera den.

Det brukar vara rookiemisstaget att inte ha definierat med AddType så servern visar browsern vad den ska göra med denna filtyp. Eller så finns inte index.php med i DirectoryIndex.. MEN..allt det där är fixat, samma sak iaf :-/


    AddType application/x-httpd-php .php3
    AddType application/x-httpd-php3-source .phps
    #
    # And for PHP 4.x, use:
    #
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps


<IfModule mod_dir.c>
    DirectoryIndex index.html index.php index.htm index.shtml index.cgi
</IfModule>


Någon som har något uppslag eller ser något idiotiskt misstag jag gjort? Basha mig!

- Niclas

|_|_|_|_| Niclas Söderlund
|_|_|_|_| All work and no play makes Jack a dull boy



Reply to: