Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 calling config, from subdomain
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

prescottw
Junior Member

189 Posts

Posted - 12 June 2007 :  15:43:44  Show Profile  Send prescottw a Yahoo! Message
Hello Fellow Snitzlings!

I'm writing a few subdomain index pages. I'm not having any luck at including with a virtual or any inlude for all that matter.

Any help would be greatly appreciated.

http://subdomain.sitename.com/forum/default.asp

Thank You.

-Scott


What day is it anyway?

Edited by - prescottw on 12 June 2007 15:45:20

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 12 June 2007 :  16:00:05  Show Profile  Visit HuwR's Homepage
including what ? you haven't explained your problem very well or indeed what you are trying to do
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 12 June 2007 :  16:03:11  Show Profile  Send prescottw a Yahoo! Message
Thanks HuwR,

I'm adding subdomains to a site that is primarily a forum.
I want inc_header.asp and config.asp to be called on the index and other pages in this subdomain in order to keep that same look as the forum.



thanks for replying
-Scott


What day is it anyway?
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 13 June 2007 :  16:06:55  Show Profile  Send prescottw a Yahoo! Message
Just when I thought I would go crazy. I was right.

It can't be done.

That's why I come here to Snitz as a last resort to answer my technical (non critical forum related) questions. I know that if I don't get an answer, it is impossible!

I scoured the Net for the answer to this question for the last couple of days and could not find the answer either.

Thanks for your attention to this ayway, Thanks HuwR.

-Scott

What day is it anyway?
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 13 June 2007 :  16:49:19  Show Profile  Visit AnonJr's Homepage
What can't be done? I think if you clarified what you are trying to do you might be surprised... photoshop a few sketches together or at least give us some more detail.
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 13 June 2007 :  17:29:22  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
if I can figure precottw post correctly, I am think he is trying to basically use inc_header.asp config.asp etc as the template for the rest of the site which also resides on subdomains but can't figure out how to include the includes in the files so they show up. He might be getting an error. That's what I can deduce from his post.

coaster crazy
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 June 2007 :  17:55:46  Show Profile  Visit HuwR's Homepage
yep, but still not quite sure what prescottw is trying to accomplish or what is failing
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 13 June 2007 :  20:54:55  Show Profile  Send prescottw a Yahoo! Message
Wow... Thank you.



This is my sitenews.asp

<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->
<!--#include file="content.asp" -->
<!--#include file="inc_contentdisplay.asp" -->




I want to build some suddomains based on a community topic... Local painters, crafters, boys and girls club, autorepair clinics, etc.

But I want the header on the pages inside these files to look the same as the rest of the site I need them to blend in. I don't have the capability or knowhow to code them.

http://painters.mysite.com/



is it <!--#INCLUDE virtual="/forum/config.asp"-->

or is the file need to be called by

<!--#INCLUDE file="../config.asp"--> (because the directory is above wwwroot (actually I don't think I tried that one)

<!--#INCLUDE file="./config.asp"-->

I've tried several other variations with no luck. 101 html error mostly. But I'm only running asp and not asp and dotnet at the same time. I get... not authorized to view this page. I don't get my 404 error page.

Thanks for everyones help.

-Scott




What day is it anyway?

Edited by - prescottw on 13 June 2007 22:31:13
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 16 June 2007 :  00:55:21  Show Profile  Send prescottw a Yahoo! Message
Can be done? Can't be done?

I'm getting mixed signals?

I'll be the first to admit that it's not a critical request. And probably does not pertain to Snitz. But you can't blame me for trying. Like I explained it was a last ditch effort to find a solution.

Thanks,

-prescottw

What day is it anyway?
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 16 June 2007 :  02:57:53  Show Profile  Visit HuwR's Homepage
I'm still not sure what you are actually trying to do
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 16 June 2007 :  10:03:11  Show Profile  Send prescottw a Yahoo! Message
If this helps, weeweeslap's reply is exactly what I'm asking. I've been known to struggle with the proper nomenclature at times.

Thanks HuwR for at least trying. Your like me in a sense. At times I really want to reply to a thread but I'm so concerned that I will not reply correctly that it might do the thread more harm than good.

I understand. But I thank you.

-prescottw

What day is it anyway?

Edited by - prescottw on 16 June 2007 10:22:32
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 16 June 2007 :  10:42:09  Show Profile  Visit HuwR's Homepage
ok, could you try to answer the following

1) where is your config file located in relation to the root of your website ?
2) which directory does the subdomain point to ? where is this in relation to the website root ?
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 16 June 2007 :  11:10:09  Show Profile  Send prescottw a Yahoo! Message


The config is located at C:\domains\mysite.com\forum\config.asp

The subdomain is located at C:\domains\mysite.com\mysubdomain\index.asp (AFAIK)

The mysubdomain points to the forum directory.

The mysubdomain directory sits next to the forum directory in the root directory.

Thanks HuwR

-prescottw



What day is it anyway?

Edited by - prescottw on 16 June 2007 11:11:31
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 16 June 2007 :  11:16:52  Show Profile  Visit HuwR's Homepage
have you tried this <!--#INCLUDE file="../forum/config.asp"-->
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 16 June 2007 :  11:19:05  Show Profile  Send prescottw a Yahoo! Message
I'll check.

-prescottw

What day is it anyway?
Go to Top of Page

prescottw
Junior Member

189 Posts

Posted - 16 June 2007 :  11:44:56  Show Profile  Send prescottw a Yahoo! Message
hmmn. it is working in the background. But I'm not seeing anything but a border of where the logo should sit on the screen.

I just learned something. my *header* is not in my inc_header it's on my sitenews. You knew this didn't you?

I understand your line of questioning now.

Even though I am seeing the code in the background any *include* file is not being displayed, nor the logo (it is in the main configuration in the proper field).

I'm understanding more,

Thanks HuwR.

-prescottw

What day is it anyway?

Edited by - prescottw on 16 June 2007 11:45:33
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07