Hi, Having following nginx virtual host config: #============================================== upstream cf-domain { server unix:/data/www/prod/domain.com/cf/cf-domain.sock; } server { listen 10.0.0.1:80; listen 127.0.0.1:28005; server_name cf.domain.com; index index.php index.html; root /data/www/prod/domain.com/cf/htdocs; charset utf-8; access_lby technoplague - Nginx Mailing List - English
Thanks! This seemed to do the trickby technoplague - Nginx Mailing List - English
Hi, Having following configuration, PHP files, if requested from /junk or /pub locations, are treated as binary. Sample request - domain.com/pub/i.php -> file is downloaded to PC instead of executing. Have no problems serving PHP files from other locations. Having separate locations for /pub /junk with autoindex also works, however my intention is to combine them in one expression. upsby technoplague - Nginx Mailing List - English
Привет, В наличии имеется работающий apache конфиг: ========================================================= <Directory /data/www/dev/domain.com/cf/htdocs/get> Options FollowSymlinks RewriteEngine on RewriteRule ^([^/\.]+)/([^/]+)$ index.php?contid=$1 </Directory> ========================================================= Rewriteby technoplague - Nginx Mailing List - Russian
Hi, Having following apache config working: ========================================================= <Directory /data/www/dev/domain.com/cf/htdocs/get> Options FollowSymlinks RewriteEngine on RewriteRule ^([^/\.]+)/([^/]+)$ index.php?contid=$1 </Directory> ========================================================= Rewrite works propeby technoplague - Nginx Mailing List - English