Thanks Andre. I am not aware of any proxy in our network. I am pretty sure the request is directly coming to Apache. I am trying to understand the httpd.conf file. There are several RewriteRule's and redirects. Here is the virtual host configuration.
ServerName www.xxx.com WSGIProcessGroup web2py WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py WSGIPassAuthorization On <Directory /opt/web-apps/web2py> AllowOverride None Order Allow,Deny Deny from all <Files wsgihandler.py> Allow from all </Files> </Directory> AliasMatch ^/([^/]+)/static/(?:_[\d]+.[\d]+.[\d]+/)?(.*) \ /opt/web-apps/web2py/applications/$1/static/$2 <Directory /opt/web-apps/web2py/applications/*/static> Options -Indexes Order Allow,Deny Allow from all </Directory> <Location /admin> Deny from all </Location> <LocationMatch ^/([^/]+)/appadmin> Deny from all </LocationMatch> CustomLog /var/log/httpd/access_log common ErrorLog /var/log/httpd/error_log On Mon, May 9, 2016 at 11:57 AM, André Warnier (tomcat) <a...@ice-sa.com> wrote: > On 09.05.2016 18:47, Temp Temp wrote: > >> Thanks Andre. Will do >> > > Your are welcome. > Based on the minimal information you provided below, I will venture a > guess however : > It may be that when users access your application from the Internet, this > goes through a front-end proxy server before reaching your webserver. And > that it is this proxy which does not forward the calls correctly. So it is > probably the proxy server people you would need to talk to first. > > > > >> On Mon, May 9, 2016 at 11:37 AM, André Warnier (tomcat) <a...@ice-sa.com> >> wrote: >> >> On 09.05.2016 17:11, Temp Temp wrote: >>> >>> Hi All >>>> >>>> Need help to trace how the redirect is happening >>>> >>>> We have some static pages and dynamic pages (Using Python) and we are >>>> using >>>> apache 2.2.15 (Unix Environment). >>>> >>>> >>> Then you are asking for help on the wrong list. This one is for Apache >>> Tomcat, which is the Java Servlet Engine. >>> The list you want can probably be found here : >>> http://httpd.apache.org/lists.html >>> >>> >>> We have a URL to edit product details. When this URL is used in the >>>> intranet it is displaying the product details When the same URL is used >>>> on >>>> Internet, It is redirecting to home page. Not sure where this redirect >>>> is >>>> happening. >>>> >>>> >>>> But with a description like the above, I am not sure that anyone would >>> be >>> able to help you. You would have first to provide some description of >>> your >>> network for instance. >>> When Internet users want to access your website, which server/proxy are >>> they connecting with ? >>> (I mean this as a question to answer on the http list, so that they can >>> help you further). >>> And you might also want to provide a copy of your Apache httpd >>> configuration (after removing any sensitive information). And be a bit >>> more >>> precise than just "Unix environment". >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>> >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >