This file contains hidden or 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
server { | |
server_name localhost; | |
listen 127.0.0.1:80; | |
root /home/ivo/www/home/public_html; | |
index index.php index.html; | |
error_log /home/ivo/www/home/error.log;# debug; | |
access_log /home/ivo/www/home/access.log; |
This file contains hidden or 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
server { | |
server_name localhost; | |
listen 127.0.0.1:80; | |
root /home/ivo/www/home/public_html; | |
index index.php index.html; | |
error_log /home/ivo/www/home/error.log;# debug; | |
access_log /home/ivo/www/home/access.log; |
This file contains hidden or 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
server { | |
server_name localhost; | |
listen 127.0.0.1:80; | |
root /home/ivo/www/home/public_html; | |
index index.php index.html; | |
error_log /home/ivo/www/home/error.log;# debug; | |
access_log /home/ivo/www/home/access.log; |
This file contains hidden or 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
server { | |
server_name localhost; | |
listen 127.0.0.1:80; | |
root /home/ivo/www/home/public_html; | |
index index.php index.html; | |
error_log /home/ivo/www/home/error.log;# debug; | |
access_log /home/ivo/www/home/access.log; |
This file contains hidden or 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
server { | |
set $domain home; | |
server_name ~^((?<domain>.+)\.)localhost$; | |
listen 127.0.0.1:80; | |
root /home/ivo/www/$domain/public_html; | |
index index.php index.html; | |
error_log /home/ivo/www/$domain/error.log;# debug; |
This file contains hidden or 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
server { | |
server_name www.*; | |
rewrite ^www\.(.+)$ $1$request_uri? redirect; | |
} | |
server { | |
server_name ~^(?<domain>.+)\.localhost$; | |
listen 127.0.0.1:80; |
This file contains hidden or 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
server { | |
server_name localhost; | |
rewrite ^ http://default.localhost$request_uri? redirect; | |
} | |
server { | |
server_name ~^(?<domain>.+)\.localhost$; | |
listen 127.0.0.1:80; |
This file contains hidden or 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
server { | |
server_name localhost; | |
rewrite ^ http://default.localhost$request_uri? redirect; | |
} | |
server { | |
server_name ~^(?<domain>.+)\.localhost$; | |
root /home/ivo/www/$domain; |
This file contains hidden or 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
/** | |
* $RCSfile$ | |
* $Revision: 3657 $ | |
* $Date: 2002-09-09 08:31:31 -0700 (Mon, 09 Sep 2002) $ | |
* | |
* Adapted from Markus Hahn's Blowfish package so that all functionality is | |
* in a single source file. Please visit the following URL for his excellent | |
* package: http://www.hotpixel.net/software.html | |
* | |
* Copyright (c) 1997-2002 Markus Hahn <[email protected]> |
This file contains hidden or 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
<?php | |
mysql_connect('localhost', 'cake', 'cakephp') or die(); | |
mysql_select_db('cake_noteven') or die(); | |
?> | |
<?php phpinfo(); ?> |