Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Working With Apache + Mod_proxy, howto use mod_proxy ?
post Apr 20 2004, 02:04 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 10-August 03
Member No.: 1,238

i am working with apache 1.3.27
./configure --prefix=/etc/httpd/ --activate-module=src/modules/php4/libphp4.a --enable-module=ssl --disable-module=cgi --enable-module=proxy

my problem is when apache need to proxy a page with broken path
"<img src="images/6.jpg" width="100" height="100" /> "
but if the page has full path it work good.
"<img src="" width="100" height="100" />"

my http.conf (proxy section)

#<IfModule mod_proxy.c>
ProxyRequests Off

# <Directory proxy:*>
# Order deny,allow
# Deny from all
# Allow from
# </Directory>

# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block

ProxyVia On
#ProxyRemote *

ProxyPass /pn
ProxyPassReverse /pn

ProxyPass /p
ProxyPassReverse /p

ProxyPass /pin
ProxyPassReverse /pin

ProxyPass /pini
ProxyPassReverse /pini
# To enable the cache as well, edit and uncomment the following lines:
# (no cacheing without CacheRoot)
# CacheRoot "/usr/local/apache/proxy"
# CacheSize 5
# CacheGcInterval 4
# CacheMaxExpire 24
# CacheLastModifiedFactor 0.1
# CacheDefaultExpire 1
# NoCache

# End of proxy directives.

Go to the top of the page
+Quote Post
post Apr 22 2004, 06:04 AM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

I think you need to change:

<img src="images/6.jpg" width="100" height="100" />


<img src="/images/6.jpg" width="100" height="100" />

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 22nd April 2018 - 09:42 AM