logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: proxy_html codes
Author
shaggy



Joined: 15 Nov 2005
Posts: 82
Location: Dundee, Michigan

PostPosted: Fri 09 Nov '12 18:42    Post subject: proxy_html codes Reply with quote

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

PostPosted: Sat 10 Nov '12 0:15    Post subject: Reply with quote

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

PostPosted: Sat 10 Nov '12 23:06    Post subject: Reply with quote

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

PostPosted: Sun 11 Nov '12 13:13    Post subject: Reply with quote

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


Reply to topic   Topic: proxy_html codes View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules