Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Mar 2009, 03:14
Red Blaze's Avatar
Red Blaze Red Blaze is offline
 
Join Date: Jan 2003
Real name: Frank E.
Making template system

Hello,

I'm trying to find ways to control my website with just one template.php file, and the only way I can think of at the moment is with htaccess.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


I want every url to point to controller.php since depending on the URL, controller.php will select the correct filename from an XML file.

for instance, xmldemo.astralaxiom.net would point to controller.php; selecting the main homepage by default.
xmldemo.astralaxiom.net/Contact-Us would point to controller.php as well, but in the script I have prepared, searches for the "Contact-Us" in the XML.

I just want htaccess to point to controller.php, doesn't matter what URL they type in. I made a huge google search for 2-3 weeks, but can't find my solution. Everything I come up with gives me an Internal Error, because it keeps looping.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I tried this, but I believe it keeps looping, causing the Internal Error.

Any help would be greatly appreciated.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 21:32.

Layout Options | Width: Wide Color: