Kahuki Webmaster Forum and Discussion Community  

Go Back   Kahuki Webmaster Forum and Discussion Community > Website Development & Management > Web Hosting

Web Hosting Discussions on all aspects of web hosting, choosing a host, reviews and technical things.



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-10-2007, 06:07 PM
Member
 
Join Date: Sep 2006
Posts: 50
Jem4Himesh is on a distinguished road
Apache problem: two .htaccess?

Hi there.

I have two domains: domain1 and domain2 which are at /var/www/html and /var/www/html2 accordingly
the .htaccess in /var/www/html2 did not work so I added this to my httpd.conf: http://apache.pastebin.ca/312138
now the original problem is solved.. but domain1 now redirects to domain2 whenever I type the URL...

Any ideas?

Thanks.

Reply With Quote
  #2 (permalink)  
Old 01-10-2007, 08:22 PM
Rookie
 
Join Date: Jan 2006
Posts: 6
pistons1 is on a distinguished road
Delete everything you added except for:

AccessFileName .htaccess

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
htaccess and htpasswd problem? subhamoy Web Hosting 1 04-29-2007 01:13 PM
Apache server Problem??????? Richard Web Hosting 2 04-12-2007 12:19 AM
How can I create an .htaccess file on a Mac that will keep the .htaccess so I can upload to my webserver? fivien Web Hosting 2 09-12-2006 03:08 PM
Can you mix in apache's htaccess with asp to create a login that will use the htaccess, but asp can also pick joseph Web Hosting 1 08-22-2006 06:33 PM
php / apache configuration problem: apache not parsing php correctly? macca PHP 2 03-14-2006 08:23 AM


All times are GMT. The time now is 06:49 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0