Problem with paths when running EE as a subdomain
Posted: 23 March 2005 03:34 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  37
Joined  04-06-2004

I have a problem with double pahts when I run a weblog as a subdomain. If I go to http://mvdm.dieseljunkie.tv, I am having problems with my links.

Paths look like this:

http://mvdm.dieseljunkie.tv/index.php/mvdm/comments/91/mvdm.dieseljunkie.tv/index.php/mvdm/comments/super_mario_bros_3/

While it should be:

http://mvdm.dieseljunkie.tv/index.php/super_mario_bros_3/

or

http://mvdm.dieseljunkie.tv/index.php/mvdm/comments/super_mario_bros_3/

I am having this “double” path problem with all links, while I use the EE tags from the templates:

{path=mvdm/comments}

I think the problem is that the subdomain I am running that weblog (mvdm.dieseljunkie.tv is located in the root folder of my server.

Structure

\
\html\system\
\mvdm

My path.php in the \mvdm directory looks like:

$system_path = "../../html/tethealla/";

$template_group = "mvdm";
$template = "index";
$site_url = "mvdm.dieseljunkie.tv";
$site_index = "index.php";
$site_404 = "";
$global_vars = array(); // This array must be associativ

Can someone please help me out?

Profile
 
 
Posted: 23 March 2005 03:42 PM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  06-19-2002

You’re not giving a fully qualified URL:

$site_url = "http://mvdm.dieseljunkie.tv/";

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64978 Total Logged-in Users: 25
Total Topics: 82017 Total Anonymous Users: 17
Total Replies: 440817 Total Guests: 172
Total Posts: 522834    
Members ( View Memberlist )