please help

Discuss practical ways rearrange URLs using mod_rewrite.

please help

Postby basarab1310 » Thu Nov 06, 2008 8:15 am

Hi,

I need a mod_rewrite script in .htaccess. Can someone tell me how the script should need to look for:
www.cetatenie.curaj.net to display content of http://www.curaj.net/?page_id=3950 ?

Thank you.
basarab1310
 
Posts: 2
Joined: Thu Nov 06, 2008 8:12 am

Postby richardk » Thu Nov 06, 2008 8:42 am

You need to create the sub domain. When you create it, what is it's document root?
What is your main domain's document root?
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby basarab1310 » Thu Nov 06, 2008 9:00 am

the subdomain is already created

this is the subdomain docroot: /home/curaj/domains/cetatenie.curaj.net/public_html
and this is curaj.net docroot: /home/curaj/public_html
basarab1310
 
Posts: 2
Joined: Thu Nov 06, 2008 8:12 am

Postby richardk » Fri Nov 07, 2008 11:36 am

What server side language are you using?
Do you have access to the server configuration?
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 25 guests

cron