- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX apache mod_rewrite
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 01:06 AM
тАО01-27-2005 01:06 AM
HPUX apache mod_rewrite
Not even the logfile is created...
DocumentRoot "/opt/hpws/apache/htdocs"
ServerName some.name.com
RewriteEngine on
RewriteLog logs/rewite-debug.log
RewriteLogLevel 5
RewriteRule ^(.*) /$1/test.html [L]
Options None
AllowOverride Authconfig
AuthName "Auth"
AuthType Basic
AuthUserFile conf/auth.passwd
require valid-user
SetEnv REMOTE_ADDR External
ProxyPass / http://131.1.1.2/
CustomLog logs/access_log_1 common
/sbin/init.d/hpws_apache stop
/sbin/init.d/hpws_apache start
How can i see if the rewrite_mod is installed, If i look into /opt/hpws/apache/modules I have a file called:
-r-xr-xr-x 1 bin bin 207512 Jul 23 2003 mod_rewrite.so
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 01:18 AM
тАО01-27-2005 01:18 AM
Re: HPUX apache mod_rewrite
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 01:25 AM
тАО01-27-2005 01:25 AM
Re: HPUX apache mod_rewrite
LoadModule rewrite_module modules/mod_rewrite.so
So the module should be loaded. I have a problem connecting directly to the server all active ports pass though :-).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 02:52 AM
тАО01-27-2005 02:52 AM
Re: HPUX apache mod_rewrite
RewriteRule ^/(.*)$ http://131.1.1.2/$1?user=%{REMOTE_USER}&ip=%{REMOTE_ADDR} [P]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 03:45 AM
тАО01-27-2005 03:45 AM
Re: HPUX apache mod_rewrite
Only for the page test.html?
Inquiring minds want to know.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 06:04 AM
тАО01-27-2005 06:04 AM
Re: HPUX apache mod_rewrite
And it works like a dream... but thx for asking this is the string:
RewriteRule ^/(.*)$ http://131.1.1.2/$1?user=%{LA-U:REMOTE_USER}&ip=%{REMOTE_ADDR} [P,QSA]
when you are passed though the proxy the URI is attached with user and ip from the location information in the virtual server.