Welcome! Log In Create A New Profile

Advanced

joomla and zend

Sander Klein
October 01, 2012 03:30AM
Hi,

I'm trying to figure out how use a zend application within a joomla
website which is not in the document root of a website.

The website is located in /www/customer/some.name and the zend
application is located in /usr/local/share/web-app (actually
/usr/local/share/web-app/public). Now what I want is the web-app to be
accessible using http://some.name/web-app/. I figures I should use
something like:

location ~ ^/web-app/ {
alias /usr/local/share/web-app/public;
}

But I cannot get this working. I tried using root instead of alias
within the location tags but that didn't seem to help. Can anyone give
me a push in the right direction? The config I use for the joomla site
is below.

server {
listen 80;
listen [::]:80;

server_name some.name;
root /www/customer/some.name;

access_log /var/log/nginx/access_some.log pic buffer=32k;
error_log /var/log/nginx/error_some.log;

location / {
try_files $uri $uri/ /index.php?$query_string;
}

location ~ \.php {
include /etc/nginx/includes.d/php-fpm_www;
include /etc/nginx/includes.d/fastcgi_params;
fastcgi_param PHP_VALUE "include_path=.";
}
}

greets,

Sander

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

joomla and zend

Sander Klein October 01, 2012 03:30AM

Re: joomla and zend

Sander Klein October 08, 2012 04:10AM

Re: joomla and zend

Edho Arief October 08, 2012 04:16AM

Re: joomla and zend

Sander Klein October 08, 2012 04:50AM

Re: joomla and zend

Sander Klein October 08, 2012 05:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 262
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready