Add new comment

Do you like HowtoForge? Please consider to support us by becoming a subscriber.
Submitted by zanaguara (registered user) on Wed, 2008-01-23 18:12.

Many thanks for this great article. I've found it very helpful.

I've installed nginx + FastCGI + PHP in Debian Etch. My PHP application is WordPress. Just in case someone needs it,  a rewrite rule is necessary in nginx.conf if we want WordPress to work properly:

 

        location / {
            root   /var/www/blog.mydomain.com;
            index  index.php;
            if (-e $request_filename) {
              break;
            }
            rewrite ^/(.+)$ /index.php?q=$1 last;
        }


 
More information:

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.