Questions tagged [tomcat]

32 questions
8
votes
1 answer

How can I redirect port 80 to a different port with Apache?

I have tomcat running on port 8080 and want a particular URL, lets say http://example.com/app, to actually point to example.com:8080/app I have other content on the website that should remain unchanged.
Adam L Davis
  • 175
  • 1
  • 1
  • 7
6
votes
1 answer

Tomcat serving static content with directory listings

I have Tomcat 7 configured to serve static contents from a directory: ... This is available at localhost:8080/projectA/. Is it…
milan
  • 161
  • 1
  • 1
  • 5
6
votes
2 answers

Bingbot is encoding non-ASCII characters in URLs with backslash x rather than percent

We have hashbang urls with extended utf-8 characters. For example: https://example.com/#!каталог Bing bot fetches the html snapshot https://example.com?_escaped_fragment_=каталог encoded URL as \xD0\xB0.... Our server responded with a 400 error…
tsogtgerel.ts
  • 211
  • 1
  • 11
5
votes
2 answers

Cannot load local resource

In spring project, I am generating some pdf file automatically in my application and storing it in $CATALINA_BASE in tomcat server. The path is…
Babanna Duggani
  • 153
  • 1
  • 1
  • 4
4
votes
2 answers

How do I prevent spam domains from pointing to my site or IP?

I came across an issue where I saw a domain xyz.com that is pointing to mydomain.com. How do I prevent spam domains from pointing to my domain? I read some posts about setting my virtual hosts and such, but nothing specific about how to prevent it…
3
votes
1 answer

Does Google treat pages on same domain but on different ports as part of same site?

My main website uses port 80/8080 (Apache with Tomcat). But running on the same server I run my own Atlassian JIRA bugtracker, Atlassian requires this to run in its own Apache tomcat server I cannot just deploy another application to the existing…
Paul Taylor
  • 355
  • 1
  • 11
3
votes
1 answer

Umlaut URLs fail in Tomcat when accessed via isapi_redirect

I have some PDF Documents in my Servlet that contain ä,ö,ü,ß, etc. On accessing the documents like this http://hostname:8080/ServletName/test_ä.txt the tomcat initially responded with an 404. After changing the tomcat server.xml from this
steloe
  • 141
  • 2
3
votes
2 answers

Site-wide redirect with Tomcat4

Disclaimer: My webmastering experience is almost nil. Apologies if anything seems ignorant - if it sounds that way, it probably is. My employer is in the middle of switching over from one version of their website to another, and for the time being…
asfallows
  • 135
  • 1
  • 6
2
votes
2 answers

Need some help on tomcat URL mod_rewrite or mod_jk

I am trying to remove the context name from the URL of my server. Current URL - http://www.domainname.com/MyApp/ What I need to make is to make it available at - www.domainname.com/ So it is only going to host one main app and that needs to be…
Redbull Fan
2
votes
1 answer

How log rotation is done in Tomcat for access logs

How log rotation is done in Tomcat ie catalina.out and access.out ? We can logrotate for catalina.out : # vim /etc/logrotate.d/tomcat7 /var/log/tomcat7/catalina.out { copytruncate daily # rotate 52 rotate 90 compress missingok create…
Ashish Karpe
  • 123
  • 1
  • 5
2
votes
0 answers

Not able to access public_html images from application deployed in tomcat

I an using cpanel at server ther I have deployed my application on tomcat7 to deploy a java war file. I have saved images on public_html folder likepublic_html/img/image1.jpg My problem is I am unable to access images from my site which are deployed…
Manish
  • 123
  • 5
2
votes
1 answer

Apache Tomcat Password?

I'm using dsBudget to manage my budgeting software. It's an apache tomcat web app. Would anyone know how I can password protect it? Basically it is designed to work on a local machine, but I want to access it from multiple locations (which i can,…
navrag
  • 21
  • 1
2
votes
0 answers

Tomcat WebDAV root directory

Is it possible to configure WebDAV in such a way that it serves content outside the root directory? I basically want to serve content via WebDAV from an absolute path C:\Content. (A third party application will drop files in that directory.) I'm…
Ruud
  • 21
  • 1
2
votes
1 answer

Where to place web.xml outside WAR file for secure redirect?

I am running Tomcat 7 and am deploying a bunch of applications delivered to me by a third party as WAR files. I'd like to force some of those apps to always use SSL. (All the "SSL" apps are in one service; other apps outside this discussion are in…
esilver
  • 21
  • 2
2
votes
2 answers

Redirect to subdomain port 8080

I have my domain registered and running. I have installed lifray which is running on tomcat 7, my site url is iloveliferay.com:8080 and I want this to be at themes.iloveliferay.com, which file I need to change to make this possible? I have VM cloude…
Wasim Shaikh
  • 141
  • 5
1
2 3