about subfolder installation and url rewrite

Hi all,I am using multilingual joomla with https. When I enter www.domain.com, www.domain.com/en/ is automatically directed. but I want to run phpmaker script with https feature in my domain.com/app/ directory. When I type www.domain.com/app/ (with https or without) it makes a wrong redirect as www.domain.com/en/app/. How can I solve this problem?The .htaccess setting in my joomla directory is as follows:

RewriteEngine On

RewriteCond %{QUERY_STRING} base64_encode[]*\([^]\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([s]s)+cript.(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule . index.php [F]

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]

The .htaccess in my /app directory is like this:

RewriteEngine On
RewriteBase app
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]

PHPMaker does not use www.domain.com/en/, it uses www.domain.com?language=en. If you use /en/, it will affect the routes (one extra segment). You do not need to enable “multilingual joomla” for a Multi-Language PHPMaker site.

Hi,I guess I could not explain the problem. I have a multilingual joomla site. I want to use the phpmaker project in a folder called app in the home directory of this site. When I type domain.com/app, joomla URL rewriting rules come into play and the web address automatically becomes domain.com/en/app. I want to exclude the app folder from joomla’s URL rewrite rules, that’s my problem. thanks.

Then you need to modify the .htaccess at the root folder of your site. You may google “.htaccess redirect exclude”.

I tried everything in the htaccess file in the joomla directory, unfortunately it didn’t work. Then I added “/” in front of the folder name in the htaccess file in the phpmaker directory and it worked.like this,

RewriteEngine On
RewriteBase /app
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]

RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]