Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: proxy_html codes |
|
Author |
|
shaggy
Joined: 15 Nov 2005 Posts: 82 Location: Dundee, Michigan
|
Posted: Fri 09 Nov '12 18:42 Post subject: proxy_html codes |
|
|
Does anybody know the command line for the following stuff. I seem to not be able to find them on w3c and other sites I hit:
pdf
word (doc)
txt
openoffice program/files
java
css
asp
aspx
shockwave
flash
jpg & jpeg (both)
gif
tiff
audio (all formats)
video (all formats)
exe
zip
rar
and msi
I cannot find some of these.
Thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 10 Nov '12 0:15 Post subject: |
|
|
What do you mean with command line? Can you give an example with something that you know? |
|
Back to top |
|
shaggy
Joined: 15 Nov 2005 Posts: 82 Location: Dundee, Michigan
|
Posted: Sat 10 Nov '12 23:06 Post subject: |
|
|
James Blond wrote: | What do you mean with command line? Can you give an example with something that you know? |
Ok here are some lines from my proxy_html.conf file. All I need is the code lines for the above mentioned from my orginal post:
Code: | ProxyHTMLLinks a href
ProxyHTMLLinks abbr abbreviated form
ProxyHTMLLinks acronym Defines an acronym
ProxyHTMLLinks address information on author
ProxyHTMLLinks applet java applet
ProxyHTMLLinks area href
ProxyHTMLLinks b bold text style |
IDK the "ProxyHTMLLinks xxxxx xxxxxx for the above mentioned stuff so I can proxy_html them. (css, asp, aspx, .....) I don't know how to do that. I kindda picked up on the line "ProxyHTMLLinks" <code> then name of the code.
But I don't know how to do that for the above mentioned codes. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sun 11 Nov '12 13:13 Post subject: |
|
|
you don't have to if you use relative paths.
I think you didn't get the design if the pattern. Instead of doing it with example jpg,gif,etc you you should rewrite the src in your img
ProxyHTMLLinks img src
The first parameter is the element that is not working when using a proxy cause of the wrong path. The second parameter is what shall be rewritten.
See http://httpd.apache.org/docs/2.4/mod/mod_proxy_html.html#proxyhtmllinks |
|
Back to top |
|
|
|
|
|
|