Last active
April 15, 2017 06:47
-
-
Save MorkHub/3af4ab89b3277306f44633ad8904c29d to your computer and use it in GitHub Desktop.
Default page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mark@ubuntu ~ $ apachectl -t -D DUMP_VHOSTS | |
VirtualHost configuration: | |
*:443 is a NameVirtualHost | |
default server none (/etc/apache2/sites-enabled/000-default-ssl.conf:2) | |
port 443 namevhost none (/etc/apache2/sites-enabled/000-default-ssl.conf:2) | |
port 443 namevhost themork.co.uk (/etc/apache2/sites-enabled/themork.co.uk-ssl.conf:1) | |
alias www.themork.co.uk | |
*:80 is a NameVirtualHost | |
default server none (/etc/apache2/sites-enabled/000-default.conf:1) | |
port 80 namevhost none (/etc/apache2/sites-enabled/000-default.conf:1) | |
port 80 namevhost themork.co.uk (/etc/apache2/sites-enabled/themork.co.uk.conf:1) | |
alias www.themork.co.uk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName none | |
DocumentRoot /var/www/default | |
<Directory "/"> | |
Options FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
Require all granted | |
</Directory> | |
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg. | |
LogLevel warn | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre>Hello, <?php echo ucwords(gethostbyaddr($_SERVER['REMOTE_ADDR'])) ?>, I am <?php echo ucwords(gethostname()) ?>.</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment