diff options
Diffstat (limited to 'blog/web')
-rw-r--r-- | blog/web/.htaccess | 11 | ||||
-rwxr-xr-x | blog/web/fcgi/php-basic | 3 | ||||
-rw-r--r-- | blog/web/index.php | 6 |
3 files changed, 20 insertions, 0 deletions
diff --git a/blog/web/.htaccess b/blog/web/.htaccess new file mode 100644 index 000000000..8d2ba9aa2 --- /dev/null +++ b/blog/web/.htaccess @@ -0,0 +1,11 @@ + +# BEGIN WordPress +<IfModule mod_rewrite.c> +RewriteEngine On +RewriteBase / +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.php [L] +</IfModule> + +# END WordPress diff --git a/blog/web/fcgi/php-basic b/blog/web/fcgi/php-basic new file mode 100755 index 000000000..f3034d9e2 --- /dev/null +++ b/blog/web/fcgi/php-basic @@ -0,0 +1,3 @@ +#!/bin/sh +PHP_FCGI_CHILDREN=1 PHPRC=/etc/php5/fcgi exec /usr/bin/php5-cgi + diff --git a/blog/web/index.php b/blog/web/index.php new file mode 100644 index 000000000..fbc0ef37f --- /dev/null +++ b/blog/web/index.php @@ -0,0 +1,6 @@ +<?php + +# Copy of the lines from WP main index.php, so it can be in subdirectory +define('WP_USE_THEMES', true); +require('./wp/wp-blog-header.php'); + |