0byt3m1n1
Path:
/
data
/
config
/
ssl
/
[
Home
]
File: example.conf
<VirtualHost 205.178.147.117:443> ServerName www.naturalhealthsupplementva.com ServerAlias naturalhealthsupplementva.com SSLEngine on SSLCipherSuite ALL:!ADH:!EXP56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /data/config/ssl/ssl.crt/naturalhealthsupplementva.com.crt SSLCACertificateFile /data/config/ssl/ssl.crt/NetworkSolutionsCA.crt SSLCertificateKeyFile /data/config/ssl/ssl.key/naturalhealthsupplementva.com.pky # MIVA variables SetEnv MvCONFIG_LIBRARY /usr/local/miva/lib/config/libmivaconfig.so SetEnv MvCONFIG_LIBRARY /usr/local/miva/lib/config/3x.so SetEnv MvCONFIG_DIR_BUILTIN /usr/local/miva/lib/builtins/ SetEnv MvCONFIG_FLAGS_SECURITY 1 RewriteEngine on # MIVA REQUIRED DATA RewriteMap ssl_uname dbm:/data/config/ssl/ssl_uname RewriteMap fspath dbm:/data/config/miva/accounts RewriteMap lowercase int:tolower RewriteRule ^/(.*)/ - [E=DOMAIN_NAME:$1] RewriteCond %{REQUEST_URI} ^/+([^/]+) RewriteCond ${fspath:%1} ^(.+)$ RewriteRule ^/([^/]+)/?(.*)$ /$2 [E=PKEY:%1] RewriteCond %{REQUEST_URI} ^.*/cgi-bin/miva.* RewriteRule .* - [L] RewriteCond ${fspath:%{ENV:PKEY}|disabled} ^(.+)$ RewriteCond %{REQUEST_URI} !^.*/Merchant2/.*\.mvc?.* RewriteCond %{REQUEST_URI} !^.*/Merchant2/.*\.mv?.* RewriteCond %{REQUEST_URI} !.*/cgi-bin/miva.* RewriteCond %{REQUEST_URI} !.*/Merchant2/graphics/.* RewriteRule ^(.*)/(.*) http://naturalhealthsupplementva.com/$2 [P,L] RewriteCond ${fspath:%{ENV:PKEY}|disabled} ^(.+)$ RewriteCond %{REQUEST_URI} ^.*/Merchant2/.*\.mvc.* RewriteRule ^(.*)/(.*) /~%{ENV:PKEY}/htdocs$1 [T=application/x-miva-compiled,L] RewriteCond ${fspath:%{ENV:PKEY}|disabled} ^(.+)$ RewriteCond %{REQUEST_URI} ^.*/Merchant2/.*\.mv.* RewriteRule ^(.*)/(.*) /~%{ENV:PKEY}/htdocs$1 [T=application/x-miva,L] RewriteCond %{REQUEST_URI} ^.*/Merchant2/graphics/en-US/.* RewriteRule ^/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*) %{ENV:PKEY}/$1/$2/$3/$4/$5/$6/$7 [L] RewriteCond %{REQUEST_URI} ^.*/Merchant2/graphics/en-US/.* RewriteRule ^/(.*)/(.*)/(.*)/(.*)/(.*)/(.*) %{ENV:PKEY}/$1/$2/$3/$4/$5/$6 [L] RewriteCond %{REQUEST_URI} ^.*/Merchant2/graphics/.* RewriteRule ^/(.*)/(.*)/(.*)/(.*)/(.*) %{ENV:PKEY}/$1/$2/$3/$4/$5 [L] RewriteCond %{REQUEST_URI} ^.*/Merchant2/graphics/.* RewriteRule ^/(.*)/(.*)/(.*)/(.*) %{ENV:PKEY}/$1/$2/$3/$4 [L] </VirtualHost> <VirtualHost 205.178.147.117:80> ServerName www.naturalhealthsupplementva.com ServerAlias naturalhealthsupplementva.com RewriteEngine on RewriteCond %{REQUEST_URI} ^/.* RewriteRule ^(.*)$ http://naturalhealthsupplementva.com/$1 [P,L] </VirtualHost>