You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Mitchell, Glen (Corporate Channel Development)" <Gl...@rbs.co.uk> on 2004/03/03 15:48:22 UTC

[users@httpd] url rewriting prob

I have a jsp page hosted on Apache 1.3.xxx/Tomcat 4.1.xxx config

On the page I use the following struts tag
<html:img page="/images/xxxxx.gif" ....../>

On the initial hit of the site this produces
<img src="http://host_name/images/xxxxx.gif:jsessionid=some_id_value" .....>

The browser does not load this at all.

On hitting Refresh on the browser the following is produced
<img src="http://host_name/images/xxxxx.gif" .....>

.i.e no jsessionid

The browser can then load the image correctly.

If I turn cookies off then the images are never loaded.

Does anyone know why this is ?. 

I assume it is a problem with the handling off URL rewriting but
don't know he fix.

Is it Apache or Tomcat that is the problem.

Maybe mod_rewrite in Apache ?

Thanks
GM


The Royal Bank of Scotland plc, Registered in Scotland No. 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB

The Royal Bank of Scotland plc is authorised and regulated by the Financial Services Authority and represents The Royal Bank of Scotland Marketing Group. The Bank sells life policies, collective investment schemes and pension products and advises only on the Marketing Group's range of these products and on a With-Profit Bond produced by Norwich Union Life (RBS) Limited.

This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent.

Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org