Mais conteúdo relacionado
Semelhante a Apache ofbiz (20)
Apache ofbiz
- 1. APACHE OFBIZ CONFIGURATION BY P@W@n Raj (PRG)
/opt/apache-ofbiz-12.04.01/framework/base/config ofbiz-containers.xml
/opt/apache-ofbiz-12.04.01/framework/webapp/config url.properties
# HTTPS Port (Secure port)
#port.https.enabled=Y
#port.https=4443
#force.https.host=
workers.properties
worker.list=worker1
worker.worker1.sticky_session=true
worker.worker1.type=ajp13
worker.worker1.host=192.168.0.55
worker.worker1.port=8009
worker.worker1.lbfactor=1
mod-jk.conf
LoadModule jk_module modules/mod_jk.so
JkWorkersFile "/etc/httpd/conf/workers.properties"
JkLogFile logs/mod_jk.log
JkRequestLogFormat "%w %V %T"
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkMount /ecommerce worker1
JkMount /ecommerce/* worker1
JkMount /images worker1
JkMount /images/* worker1
JkMount /content worker1
JkMount /content/* worker1
apache2.conf
NameVirtualHost prg.com:80
<VirtualHost prg.com:80>
ServerName prg.com
Options All ExecCGI FollowSymLinks Indexes
DirectoryIndex index.php index.html index.hml index.phtml index.shtml
DocumentRoot "/var/www/html"
<Directory "/var/www/html">
Options All ExecCGI FollowSymLinks Includes Indexes
- 2. Redirect /ofbiz http://prg.com/ecommerce/
Allow from All
Order Allow,Deny
AllowOverride All Options
</Directory>
</VirtualHost>
index.html
<html>
<head>
<script>
document.location.href="http://prg.com/ecommerce/";
</script>
</head>
<body>
Redirect page
</body>
</html>
FINAL URL:- http://prg.com/ofbiz
Second URL :- https://prg.com:4443/accounting