Welcome Guest Search | Active Topics | Log In | Register

installing in a subdirectory issue Options · View
ash360
#1 Posted : Saturday, October 04, 2008 7:17:36 PM

Rank: YAF Commander




Joined: 3/28/2008
Posts: 122
Location: New York
hi guys

i ve been trying to install yaf 1.9.3 Beta(new install not upgrade) to a sub directory : www.mydomain.com/forums

here is what i did:

- all the config (.config) files and bin folder are in the root only (not in the sub directory)
- i ve created a virtual directory (forums) in IIS i am using(godaddy)
- after that i ran forums/install , entered my password then it took me to the page that creates the admin user/password - forum name - smtp - etc ..
- as soon as i hit submit , i get "internet explorer cannot display the webpage"
- i checked the database and it was crated , yaf tables are there.

what could possibly be the problem ?
-shall i place the bin and config files in the sub directory /forums ??
-shall i change the virtual directory settings to Set Application Root ??

my main website is just simple html pages , its not an application

i am also concerned about IIS7 pipeline mode , should it be classic or integrated ??

i did a search about this issue and i tried going through the solution but it didnt work
i ve been trying for a week

thnx in advanced
Visit my Forums: FORUMZ360.com
bigdog
#2 Posted : Tuesday, October 21, 2008 12:35:48 AM

Rank: YAF Forumling


Joined: 9/17/2008
Posts: 7
Location: NY
I'm having the same issue with 193rc2

It seems like it should in the app.config file

<add key="BaseUrl" value="~/" />
<add key="BaseUrlOverrideDomain" value="false" />


but i've tried various combination and nothing works.

I'm trying to put yaf in a sub-directory called forum. It seems like this should be easy.


test2005
#3 Posted : Tuesday, October 21, 2008 11:13:07 AM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 927
Location: Italy

Did you follow the wiki instructions for integration?
.....the man in black fled across the desert..........and the gunslinger followed.....

bigdog
#4 Posted : Monday, October 27, 2008 4:13:20 AM

Rank: YAF Forumling


Joined: 9/17/2008
Posts: 7
Location: NY
OK, so you need to add key/value to your app.config file

<add key="root" value="/yourdirectory/" />

if you intend on placing yaf in a sub-directory

http://localhost/yourdirectory

Hopefully this will save somebody some time.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.060 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET