ioasw
1-1-06, 02:24 PM
I run oscommerce on my site, and oscommerce has it's own .htaccess file which is this:
# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
# AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)
# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers
<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
<IfModule mod_php4.c>
php_value session.use_trans_sid 0
php_value register_globals 1
</IfModule>
I have a pointer domain that is registerd with powweb, and when I go to that pointer domain I am redirected to my main oscommerce site.
I would like to have a pointer domain be redirected with the adress bar masked as the pointer domain to a a subdomain on my site.
Now do I have to change the oscommerce .htaccess file or can I just put a .htaccess file in the htdocs of my sub domain?
I have searched but I have not found anyting about this situation. Thanks to anyone who can help.
# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
# AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)
# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers
<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
<IfModule mod_php4.c>
php_value session.use_trans_sid 0
php_value register_globals 1
</IfModule>
I have a pointer domain that is registerd with powweb, and when I go to that pointer domain I am redirected to my main oscommerce site.
I would like to have a pointer domain be redirected with the adress bar masked as the pointer domain to a a subdomain on my site.
Now do I have to change the oscommerce .htaccess file or can I just put a .htaccess file in the htdocs of my sub domain?
I have searched but I have not found anyting about this situation. Thanks to anyone who can help.