Support
EN PT ES
Wiki
Content
Discussion
History
Backlinks

How to set up Friendly URLs in GXportal Java


- Open the httpd.config file (at Apache´s conf directory) and uncomment the following lines:
  • LoadModule rewrite_module modules/mod_rewrite.so
  • LoadModule headers_module modules/mod_headers.so
- Copy the .htaccess file (or add to the exiting one gxportal´s htaccess content file) in the Apache´s root directory (htdocs). This file is inside the WAR Files directory installed by gxportal. In case of Windows the file is called htaccess (without the "." or other name) and this line must be added at the bottom of httpd.conf file "AccessFileName htaccess".

- Open the server.xml file (at Tomcat´s conf directory) and modify the line: "<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" emptySessionPath="true" />" adding the "emptySessionPath="true"" tag.

- Open the httpd.conf file and search for the tag <Directory that referes to the Apache´s root directory (example: <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">). Modify the property allowOverride changing the none value with the All value.

Categories:

Wiki home
Categories
Recents changes
TOUR
Tutorials
Documentation
COMPANY
Support
© All rights reserved. GeneXus TM is registered to GeneXus S.A. | Privacy Policy | Contact information