You are here: Mod Rewrite and subdomains « PHP Programming Language « IT news, forums, messages
Mod Rewrite and subdomains

Posted by Andrzej on 11/05/99 11:32

There is a domain www.xxxxxxxxx.pl, I would like to enter:
www.xxxxxxxxx.pl/adres/ and get www.xxxxxxxxx.pl/adres.php
so I put in .htaccess a rule:
RewriteRule (.*)/$ /$1.php [L]
Everything works ok, but now I decided to make a subdomain "test". I enter:
www.test.xxxxxxxxx.pl and my webbrowser connects to
www.xxxxxxxxx.pl/test.php what can I do to use subdomains. Do you have any
idea? I would be very grateful for help.

Andi

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация