Hi,
I have configured my vps to carry a subdomain.
http://shoutcast.4allofus.com
When I visit
http://shoutcast.4allofus.com/index.html
it works
http://shoutcast.4allofus.com/index.php
tries to download the file instead of parsing it in the browser.
What have I done wrong please?
Edit:
nvm I fixed it
I have configured my vps to carry a subdomain.
http://shoutcast.4allofus.com
When I visit
http://shoutcast.4allofus.com/index.html
it works
http://shoutcast.4allofus.com/index.php
tries to download the file instead of parsing it in the browser.
What have I done wrong please?
Code:
#
# shoutcast.4allofus.com (/etc/apache2/sites-available/shoutcast.4allofus.com)
#
<VirtualHost *>
ServerAdmin webmaster@4allofus.com
ServerName shoutcast.4allofus.com
ServerAlias shoutcast.4allofus.com
# Indexes + Directory Root.
DirectoryIndex index.php index.html index.htm
DocumentRoot /home/allofus/public_html/shoutcast.4allofus.com/
# CGI Directory
ScriptAlias /cgi-bin/ /home/allofus/cgi-bin/
<Location /cgi-bin>
Options +ExecCGI
</Location>
# Logfiles
ErrorLog /home/allofus/logs/error.log
CustomLog /home/allofus/logs/access.log combined
</VirtualHost>
nvm I fixed it
Code:
apt-get install php5
Last edited: