Apache downloads instead of displaying php and html
Apache was working fine until I upgraded with webmin. Among the patches it removed Suhosin.
Was Apache/2.2.8 (Ubuntu) PHP/5.2.
Now Apache/2.2.8 (Ubuntu) configured
The AddType seems to be missing for the root /www/var and it's real subdirs. It sends me the unprocessed php code as a download. Sends html also as a download. As a download I can't tell what the mime type is, but clearly not text/html.
http://
phpmyadmin -> /usr/share/
Another soft link does not reproduce that effect.
LAM is configured in a different directory and it has the problem as well.
Can I put Suhosin back on?
Here's my config: /etc/apache2/
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
<Directory />
<Directory /var/www/>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
ErrorLog /var/log/
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apache2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jim Fieser
- Solved:
- Last query:
- Last reply: