Re: replace an ip @ by a "normal" URL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi

I tried to activate the ProxyPass like in this toturial:

http://library.linode.com/web-servers/apache/proxy-configuration/multiple-webservers-proxypass-centos-5

so in my http.conf I have:

<IfModule mod_proxy.c>
ProxyRequests On

<Proxy *>
    Order deny,allow
    Deny from all
    Allow from .example.com
</Proxy>

#
# 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

#
# To enable a cache of proxied content, uncomment the following lines.
# See http://httpd.apache.org/docs/2.2/mod/mod_cache.html for more details.
#
#<IfModule mod_disk_cache.c>
#   CacheEnable disk /
#   CacheRoot "/var/cache/mod_proxy"
#</IfModule>
#

</IfModule>
# End of proxy directives.

.
.
.
.
<VirtualHost @ip:80>
ServerAdmin webmaster@xxxxxxxxxxxxxxx
ProxyPass / http://localhost:8080/portal/
ServerName cmcf.men.gov.ma
ErrorLog logs/cmcf.men.gov.ma-error_log
CustomLog logs/cmcf.men.gov.ma-access_log common
</VirtualHost>


but in vain.
can I have your help?
thank you

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux