Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sub.mydomain.com/cake
- sub.mydomain.com
- <VirtualHost *:80>
- DocumentRoot "C:/xampp/htdocs/cake/"
- ServerName sub.mydomain.com
- <Directory "C:/xampp/htdocs/cake/">
- Options Indexes FollowSymLinks
- AllowOverride All
- Require all granted
- </Directory>
- </VirtualHost>
- <?php
- if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
- $uri = 'https://';
- } else {
- $uri = 'http://';
- }
- $uri .= $_SERVER['HTTP_HOST'];
- header('Location: '.$uri.'/treesid/');
- exit;
- ?>
Add Comment
Please, Sign In to add comment