473,406 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 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 6745

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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.