Redirection dont work

It's not difficult to install myLounge Redirection, but sometimes it's quite tricky. Post your questions in here.

Moderator: Scooby

Redirection dont work

Postby outtime » Fri Nov 07, 2003 11:04 am

Hello. I installed myred in webroot directory, i have wilcard dns active and virtualhost with server name mydomain and alias *.mydomain
My problem is than if ia call the redirection xxx.mydomain i am not redirect, always open the webroot page. I create a redirection to www.google.com from xxx.mydomain.com and open the file index2.htm of my document root, that is my first page of my domain but dont open google
outtime
 

Aclarations

Postby outtime » Fri Nov 07, 2003 11:31 am

I am using apache 1.3 php 4.6 as module and cgi.
My web is www.costaoeste.net and the subdomain is http://prueba.costaoeste.net . Always open the same page, the page is when dont exist the subdomain.
outtime
 

Postby Scooby » Fri Nov 07, 2003 11:45 am

have you got the .htaccess file and index.php in the root ?
User avatar
Scooby
helpful guy
helpful guy
 
Posts: 252
Joined: Fri Jan 24, 2003 2:04 pm
Location: UK

---

Postby outtime » Fri Nov 07, 2003 12:04 pm

Yes the .htaccess file and index.php file are in the domain document root directory.
outtime
 

Postby Scooby » Fri Nov 07, 2003 12:15 pm

just wondered as if you spell index2.htm wrong like index2.ht you get a 404 error with the htaccess in there it should take you back to your main page

www.sg5.co.uk/index.htm

www.sg5.co.uk/index.ht

try on those urls
User avatar
Scooby
helpful guy
helpful guy
 
Posts: 252
Joined: Fri Jan 24, 2003 2:04 pm
Location: UK

.htaccess

Postby outtime » Fri Nov 07, 2003 11:35 pm

The file .htaccess is working!!! but when i call to a subdomain this dont open, allways open the index2.htm of my document root
outtime
 


Return to Support

Who is online

Users browsing this forum: No registered users and 11 guests

cron