Welcome! Log In Create A New Profile

Advanced

RequestHeader set X-Base-Path

August 27, 2010 04:21AM
hello,

i have this apache vhost entry,

[code]
<VirtualHost *:80>
ServerName company.domain.com
ServerAlias company-limited.domain.com
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/(.*) http://localhost:8080/companies/company-limited/$1 [P]
RequestHeader set X-Base-Path companies/company-limited
</IfModule>
RewriteLogLevel 9
RewriteLog "logs/company-limited_rewrite.log"
ErrorLog "logs/company-limited_error.log"
CustomLog "logs/company-limited-access_log" common
</VirtualHost>
[/code]

what will be the equivalent nginx config file for this?

thank you.

norman
Subject Author Posted

RequestHeader set X-Base-Path

khine August 27, 2010 04:21AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 170
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