While trying to implement Note:270160.1 Single Sign-On Accessibility Through a Firewall Oracle Application Server 10g (9.0.4), i realized that a simple typo can make your mood for the day.
To be more specific, in the part where the author of the Note writes :
Listen 8001 NameVirtualHost *:8001 # You may prefer IP Address instead of * <VirtualHost *:8001> # You may prefer IP Address instead of * ServerName portal.<yourname>.com # Network entry-point/webcache: Port 80 # IMPORTANT - Must inherit any Portal rewrites RewriteEngine on RewriteOptions inherit # Other rewrites optional, but may improve functionality # To send direct requests on this virtual host to Portal RewriteCond %{HTTP_HOST} !^portal\.<yourname>\.com [NC] RewriteRule ^/$ http://portal.<yourname>/pls/portal/$1 [L,R] LogLevel error ErrorLog "|/path/to/oracle/904mid/Apache/Apache/bin/rotatelogs /path/to/oracle/904mid/Apache/Apache/logs/portal_error_log 43200" </VirtualHost>
Did you see it? Me either
RewriteRule ^/$ http://portal.<yourname>/pls/portal/$1 [L,R]
The [R] is after the [L] meaning that the redirection will not occur!
The line should be
RewriteRule ^/$ http://portal.<yourname>/pls/portal/$1 [R,L]
I simply lost a server with a k.o.Labels: firewall, host, Single Sign-On, SSO, virtual |
USB 플래시 드라이브
외장 스토리지
소비자 SSD
SD 시리즈