472,958 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

Apache Tomcat error - HTTP Status 404

Hi Friends,

I am not familier with WebServer but due to some urgency I want to resolve some issue. Please help me on this.

We are using Apache HTTP Server with Tomcat 7.0.42
Basically Homepage is loading fine with few subpages, But we are getting 404 Errors on remaining pages. However, if I tried with tomcat App URL with Port then everything loading fine without any issue. Please help me how to resolve this issue. I have given the http conf file for your reference.

Seems to be redirection working only for the homepage not subsequent pages.
--------------------------------------------------------------------------------
HTTP Status 404 - /sites/tst/default/en_US/about/news–room

type Status report

message /sites/tst/default/en_US/about/news–room

description The requested resource is not available.

Apache Tomcat/7.0.42
--------------------------------------------------------------------------------


CONF file:
-----------
Expand|Select|Wrap|Line Numbers
  1. <VirtualHost *:80>
  2.     ServerName ot2.tst.edu
  3.  
  4.     ErrorLog logs/live/http_error.log
  5.     #CustomLog logs/live/http_access.log combined
  6.     CustomLog "|/opt/apps/apache/bin/rotatelogs -f  /opt/apps/apache/logs/live/http_access.log.%Y.%m.%d 86400 +60" imi
  7.     RewriteLog logs/live/http_rewrite.log
  8.  
  9.     RewriteEngine on
  10.  
  11.     # Requests from local machines can go through HTTP. Other
  12.     # requests have to go through HTTPS
  13.     RewriteCond %{REMOTE_ADDR} !^101\.151\.191\.21$
  14.  
  15.     # Preview stage docroot
  16.     DocumentRoot /opt/apps/ot
  17.  
  18.     # By default redirect to Portal console.
  19.     RewriteRule ^/+$ /sites/tst/  [R,L]
  20.  <IfModule rewrite_module>
  21.     Options +FollowSymlinks
  22.     RewriteEngine     On
  23.     RewriteOptions Inherit 
  24.     #RewriteLogLevel 9
  25.     RewriteLog logs/rewrite.log
  26.  
  27.  
  28. </IfModule>
  29.  
  30. JkMount   /*        tst_dev_live_svr
  31.  
  32. </VirtualHost>
  33.  
================================================== ==========

Thanks
Jay
Jul 8 '15 #1
0 6407

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
0
by: BuddyWork | last post by:
Hello, I'm doing a performance test and my test graudually increases the connections to the webservice. Everything works well until my connection hits around 350 connections. Then future...
6
by: Nick Horrocks | last post by:
I have set up a custom error page for 404 errors. However the HTTP status code returned is 302 followed by 200, this causes search engines not to remove old pages from their index. How can I...
8
by: Tim Reynolds | last post by:
Our .Net application calls a web method of aplpication 2 that resides on their Apache server. When I as a developer C#, Studios 2003, make the call to their web method from my desktop, I receive no...
1
by: kommaraju | last post by:
iam a starter to db2 & jdbc.i have a servlet program which connects to ibm db2 using jdbc.when i run this using apache tomcat 4.1.34 , it is showing a error message of HTTP STATUS 500 my jdbc...
1
by: kommaraju | last post by:
iam a starter to db2 & jdbc.i have a servlet program which connects to ibm db2 using jdbc.when i run this using apache tomcat 4.1.34 , it is showing a error message of HTTP STATUS 500 my jdbc...
0
by: rugman | last post by:
Hi. Let me immediately declare - I'm a designer/owner of a website written in jsp pages running under Apache Tomcat 5.5.25. I make simple changes to code but don't understand much about...
2
by: ramprakashjava | last post by:
sorry still that error exist , how to avoid this deprecated method overriding in my netbeans ! In Bundled tomcat log it shows Dec 30, 2009 9:03:45 PM...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.