I have a Suse 10/ Apahce2 box i installed ISPconfig, the site seems to be working with html files, however, trying to open index.php invokes the save or open dialog, i can only imagine the php engine is not running, Im a windows admin changing to linux, so im kind anoobish. I cant seem to find an answer after a few hours of google searching. any ideas? ill post config files, just let me know
Welcome ;-) Well to start with you could check for errors in: /var/log /var/log/httpd /var/log/apache2 /root/ispconfig/httpd/logs Then maybe check in /etc/apache2/mods-available/dir.conf for Code: <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml </IfModule> Did you follow a "The Perfect Set Up Howto"? On SuSE there are sometimes issues with apparmor — have you removed it — do you know what to do and look out for there? Cheers
You will have to reconfigure the php setting in ISPConfig for SuSE: See ISPCOnfig first steps guide, chapter 2.4.3: http://www.howtoforge.com/ispconfig-2.x-first-steps-p2
Thanks for the replys guys, make-fun: i checked all the logs and none show any errors, i went to this path, /etc/apache2/mods-available/dir.conf and there is no mods-availible folder Till, i followed your link and could not find anything on php, i turned it off and back on for the site, still no luck. i cant post the link because of the content (adult), but will send in priv tell if you need it. loading the site by ip shows the html, but typing in index.php prompts me to save or open.
here is my Vhosts.ispconf file <VirtualHost 69.38.58.195:80> ServerName www.site.com:80 ServerAdmin [email protected] DocumentRoot /srv/www/web3/web ServerAlias site.com DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm Alias /cgi-bin/ /srv/www/web3/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /srv/www/web3/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 php_admin_flag safe_mode Off Alias /error/ "/srv/www/web3/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /srv/www/web3/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web3/user/$1/web/$3 <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] </IfModule> </VirtualHost> like i said, i cant for the mods_available file. this is turning into a nightmare, i almost wanna get rid of ispconfig! heh.. just realized ispconfig page is php, so it must be serving php just not for the site.
1) ispconfig runs it's own Apache on port:81, so it's got nothing to do with this 2) mods_available: not sure how it's done on SuSE 10.?? 3) You have checked "ErrorLog /srv/www/web3/log/error.log"? Maybe comment this part in Code: #<IfModule mod_rewrite.c> #RewriteEngine on #RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) #RewriteRule .* - [F] #</IfModule> and then do a /etc/init.d/apache2 reload Maybe you can get a little closer to the prob this way…