Welcome to WebmasterWorld Guest from 54.160.254.203

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Dusty pages not accessable from apache server

     
2:08 pm on Feb 26, 2013 (gmt 0)

New User

joined:Feb 26, 2013
posts: 4
votes: 0


We are using apache 2.2.3 on Red Hat Enterprise Linux Server release 5.8 Beta (Tikanga).

We have many virtual hosts setup in single apache server.When the backend application server is down, we configured dusty pages in virtual host files, but these arent accessable via browser.Checked everything i could but couldnt find anything.

Example:

virtual host: example.com
DocumentRoot: /home/atgwww/docroot/
Dusty page : /Dusty/store/GFdusty.html

$ pwd
/home/atgwww/docroot/Dusty/store
$ ls -lrt GFd*
-rwxrwxr-x 1 atgwww atgwww 499 Apr 20 2012 GFdusty.html
2:20 pm on Feb 26, 2013 (gmt 0)

New User

joined:Feb 26, 2013
posts: 4
votes: 0


More info regarding the same:

When i try to access

example.com/Dusty/store/GFdusty.html

I get the below message from browser.

Failure of server APACHE bridge:
Neither cluster nor server host parameter was specified in httpd.conf. Cannot continue.
4:42 am on Feb 27, 2013 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10544
votes: 8


welcome to WebmasterWorld, apacheln!


what happens when you request the root directory?

http://example.com/
2:16 pm on Feb 27, 2013 (gmt 0)

New User

joined:Feb 26, 2013
posts: 4
votes: 0


Hi phranque,
When i hit the url its redirecting me to application configured in virtual host i.e backend war file deployed on weblogic. But when i try to hit the dusty page directly i get the apache failure error as shown above.

My vhost file:

<VirtualHost shopping-devel-uwebda01.ext.asp.cuc.com:80>
ServerName example.com
RewriteEngine on
##### Disable Trace Method #####
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
RewriteLog logs/rewrite
DocumentRoot /home/atgwww/docroot/
# Redirect all requests to ssl and preserve the querystring
RewriteRule ^.*$ [example.com$0...] [L,QSA]
</VirtualHost>

<VirtualHost shopping-devel-uwebda01.ext.asp.cuc.com:443>
ServerName example.com
DocumentRoot /home/atgwww/docroot/
RewriteEngine on
##### Disable Trace Method #####
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
RewriteLog logs/rewrite
SSLEngine on
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0

SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateFile /home/atgwww/certs/shopping-devel-uwebda01.crt
SSLCertificateKeyFile /home/atgwww/certs/shopping-devel-uwebda01.key
SSLProtocol -ALL +SSLv3 +TLSv1

<IfDefine !usty>
RewriteRule ^/$ /ancillary-access/ [L,R,QSA]
<LocationMatch "^/(ancillary-access|certs|MEDIA_*|static|ProductImages|CategoryImages|Utilities_Web|Images|logview)">
SetHandler weblogic-handler
WLCookieName store-cookie
WebLogicCluster wlserver:9602,wlserver:9602
DynamicServerList OFF
SecureProxy ON
WLSSLWallet /home/atgwww/certs/Wallet
ErrorPage /Dusty/store/GFdusty.html
# uncomment for debug to /tmp
#Debug ALL
WLForwardUriUnparsed ON
WLExcludePathOrMimeType /MEDIA_*/*,/static/*,/ProductImages/*,/CategoryImages/*,/Utilities_Web/*,Images/*
</LocationMatch>
</IfDefine>
# If we got this far Apache was started under dusty mode
# The following conditions allow images/styles to be
# returned
RewriteCond %{REQUEST_URI} !^/ancillary-access/*
RewriteCond %{REQUEST_URI} !^/certs/*
RewriteCond %{REQUEST_URI} !^/MEDIA_*/*
RewriteCond %{REQUEST_URI} !^/static/*
RewriteCond %{REQUEST_URI} !^/ProductImages/*
RewriteCond %{REQUEST_URI} !^/CategoryImages/*
RewriteCond %{REQUEST_URI} !^/Utilities_Web/*
RewriteCond %{REQUEST_URI} !^/Images/*
RewriteCond %{REQUEST_URI} !^/Dusty/*
RewriteRule .* /Dusty/store/GFdusty.html [L]

CustomLog /home/atgwww/logs/httpd/access_log common
ErrorLog /home/atgwww/logs/httpd/error_log
</VirtualHost>
5:28 am on Mar 2, 2013 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10544
votes: 8


this looks like it could be suspect:

<IfDefine !usty>


even more likely, i don't immediately see how this LocationMatch would trigger for a /Dusty path:


<LocationMatch "^/(ancillary-access|certs|MEDIA_*|static|ProductImages|CategoryImages|Utilities_Web|Images|logview)">


in either case if apache doesn't process the WebLogicCluster directive that probably is the cause for the missing server host parameter.
2:36 pm on Mar 4, 2013 (gmt 0)

New User

joined:Feb 26, 2013
posts: 4
votes: 0


Incase the WebLogicCluster defined is down, it should show the custom error page as mentioned in the apache plugin paramters link.

[docs.oracle.com...]

Even though weblogic isnt down, when i hit the url
example.com/Dusty/store/GFdusty.html it should show the dusty html file. This setup is working in one environment and not in another.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members