Managing Multiple Virtual Folders Of Cloned Websites

I've got ASP files in many sub-folders of many levels deep.

I've always used:

<!-- #INCLUDE VIRTUAL="/VIRTUALSITE/SUBFOLDER1/SUBFOLDER2/FILE.asp"
-->

The VIRTUALSITE name is really the virtual directory created under
IIS.

I clone my website multiple times, to cater for different people. So,
each person gets a different VIRTUALSITE name.

This gets messy when I need to update the websites. I can't do a
diff/merge because the files of each site had a "search & replace"
applied to them to change the VIRTUALSITE name to the corresponding
person.

Has anyone experienced this problem? Can someone give me some
tips/solution on how to resolve this?

View Replies


ADVERTISEMENT

Managing Multiple Virtual Folders

I've got ASP files in many sub-folders of many levels deep. I've always used:

<!-- #INCLUDE VIRTUAL="/VIRTUALSITE/SUBFOLDER1/SUBFOLDER2/FILE.asp" -->

The VIRTUALSITE name is really the virtual directory created under IIS. I clone my website multiple times, to cater for different people. So, each person gets a different VIRTUALSITE name. This gets messy when I need to update the websites. I can't do a diff/merge because the files of each site had a "search & replace" applied to them to change the VIRTUALSITE name to the corresponding person.

View Replies View Related

Multiple Virtual Folders

I am an ASP web developer developing a website.I've got ASP files in many sub-folders of many levels deep.

I've always used:

<!-- #INCLUDE VIRTUAL="/VIRTUALSITE/SUBFOLDER1/SUBFOLDER2/FILE.asp" -->

The VIRTUALSITE name is really the virtual directory created under IIS.

I clone my website multiple times, to cater for different people. So, each person gets a different VIRTUALSITE name.This gets messy when I need to update the websites. I can't do a diff/merge because the files of each site had a "search & replace" applied to them to change the VIRTUALSITE name to the corresponding person.Has anyone experienced this problem? Can someone give me some tips/solution on how to resolve this?

View Replies View Related

Different Virtual Folders

If I have 1 Virtual Dirctory with 2 different subfolders are these 2 different folders different virtual folders? Or if I have 2 different Virtual Directories each containing a subfolder are these two subfolders 2 different virtual folders?

I'm asking because Microsoft is using the term "virtual folders" and I am not sure if they mean the former or the later.

View Replies View Related

Multiple Websites

I have registered a domain that forwards every hit to my home PC. I have configured Default Web site to show one Web from my PC. So when people navigate to www.mydomain.com they see that site. What if I want to how more then one web site? Is there a way of doing that?

View Replies View Related

FTP To Multiple Websites

I can't afford M$ CMS. What I am after used to be called Content Deployment in Site Server 3.0.Does anyone know of any other software that will let me define a series of
hosts and then FTP to all of them at once?How do you guys update your clusters?

View Replies View Related

Creating A Single Binary Log In A IIS Server Containing Multiple Websites

I am working with IIS 5.0 and would like use the property CentralBinaryLoggingEnabled which if set true will create one single binary log file in place of a separate log file for multiple websites.

This property is available in IIS 6.0. I would like to know if there is a patch available for IIS 5.0 which will create this property in IIS 5.0.

View Replies View Related

Cloned Window

I've got an application that searches a catalog. I'm expanding the application to be able to search one of four different catalogs.

If I clone a window (ie: CTRL-N or File-New-Window), I get the same session information and it seems to be using the same cookie information. This doesn't happen if I simply launch Internet Explorer a second time.

Is there an ASP trick to fool any new window to abandon their sessions? I was thinking of session.abandon (obviously), but I don't want to abandon what is stored, I just want that information to be separate.

View Replies View Related

Virtual Paths In Virtual Directory

Config:
IIS 6 Windows 2003
Site_A
Site_B

Scenario:
I need a virtual directory in Site_B to serve the files in Site_A (without redirecting the request) so I just added for example Site_B/A as a vdir, and set it's home dir to the physical root of Site_A (eg. C:inetpubwwwrootSite_A) sounds simple enough... not for long:

Problem (nb. I tend to use forward slashes as web/iis paths and backslash as windows filesystem paths):

The include files in Site_A reside in: Site_Aincludes and the include statements in the ASP code seem to be absolute virtual paths (if such a thing exists) for example: <!--#include virtual="/includes/header.asp"--> Code:

View Replies View Related

Managing Sessions

I am hosing website using ASP on windows2003 standard server in IIS 6.0 sessions are getting expired immediately. Could any one help me in managing sessions in iis 6.0 and ASP?

View Replies View Related

Managing Sessions In Iis 6.0 With Asp

How to manage sessions in iis 6.0 with asp?

View Replies View Related

Managing A Database

I have a fairly ambitious client who would like to offload the management of intranet content to other individuals in the organization. For the project to be successful, the data management must be as painless as possible. Accordingly, the ideal interface for data input is Microsoft Word, as most users are extremely comfortable working with it.

I would like to be able to create word templates/forms which are dynamically populated with data from an database, then downloaded to the client PC. Once the data is updated, I would like the user to upload their files back to the server, which will in turn update its database and maintain an audit-trail of all changes.

Can this be done? I'm assuming that if I install Office on the server, it would be feasible using the office API, but I would love to be able to do this without office on the server.

View Replies View Related

Managing Permissions

I keep getting this error when I want to upload an image .

Microsoft VBScript runtime error '800a0046'

Permission denied

/sljobs/uploadphoto.asp, line 39

Do I have to give read/write permissions to the Scripts folder as well? what is the process for managing permissions to the folder?

View Replies View Related

Managing Playlists

Can any body help me in developing the code for managing playlists. The code allows us to select/deselect audio files into/out of the playlist. I am trying to develop a radio. so any idea about real time playback is also welcome.

View Replies View Related

Managing User Interaction

I have a site that enables users to search for property details and access a specific property brochure. They can search by price and other property features etc.

This is all working fine, I now need to be able to return usesr to a specific page within the result set after they have viewed a specific property. I dont want to rely on the back button, I would like to provide a link which returns them to the result page they came from. The users are not known to the site.

What is the most efficient way of handling this, I have had a look a several options but I'm realy not sure what it the most efficient.

View Replies View Related

Asp For Websites

i want to start learning asp for websites.what can asp do?and where should i start?

View Replies View Related

Creating Websites

I'm looking for the best software out there that can create simple websites for clients. Basically, a client pays a small monthly fee and they're given a website where they can display whatever they'd like. Something sorta like Geocities in a way. I've searched aspin.com but I couldn't find what I was looking for. Can anyone point me in the right direction? I'd rather buy something already made then to start from scratch and develop my own.

View Replies View Related

Asp Code Websites

i first used this forum to find code for coldfusion, but now want to learn ASP. are there any websites out there that show you the code for various things such as counters, guestbooks, database stuff, etc.etc.

View Replies View Related

Updating Websites

If I am updating a list of records for a user on an asp page, is there
a way to hold the page updating, even if they refresh the page, until I
have updated all the records.

i.e. rather than them seeing records change 1 at a time if they
refreshed their page, all the records would update together in 1 go, a
bit like a batch update ?

The source is from a MySQL db which is fed from an MS Access front end.

This could be an MS Access issue, in which case I will post there
instead.

View Replies View Related

Cookies: Favourite’s Websites

I'm trying to produce a custom favourite’s section for my site so that users can store links to their favourite’s websites.

I would like to use Cookies to do this rather than make the user log in and use a database.

I would like the user to be able to create as many links as they want and be able to edit and delete individual links.

I've managed to write a cookie for one link but having problems trying to work out how to add multiple links.....

View Replies View Related

Update Websites Links In Access Db

I'm trying to update an Access db: if link is ok, then status=up else status=down, in a form with 3 fields: names, link, status:

<%
Server.ScriptTimeout = 1500
%>

<%
Session.timeout = 1
If IsObject(Session("press_conn")) Then
Set conn = Session("press_conn")
Else
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "press","",""
Set Session("press_conn") = conn
End If


sql = "SELECT names, status, link from websites order by names"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open sql, conn, 3, 3
rs.MoveFirst

Dim GotothisURL

Do Until rs.EOF
GotothisURL = rs("link")
Set GetConnection = CreateObject("Microsoft.XMLHTTP")
GetConnection.Open "get", GotothisURL, False
on error resume next
GetConnection.Send
ResponsePage = GetConnection.responseText

if ResponsePage="" then
sql = "UPDATE (websites) set status=(offline) WHERE names = '"&rs("names")&"' AND link = '"&rs("link")&"'"
conn.Execute(sql)
else
sql = "UPDATE (websites) set status=(online) WHERE names = '"&rs("names")&"' AND link = '"&rs("link")&"'"
conn.Execute(sql)
end if

Set GetConnection = Nothing
Set ResponsePage = Nothing

rs.MoveNext

Loop

conn.close
set conn = nothing
rs.close
set rs = nothing
%>

I get no errors at all. The path to db is ok.

The script acts very very strange. On the first run, it seems that everything is ok, but the page freezes on half [the blue bar on bottom of browser]. If I'll stop the script, on the second run, the page loads very quick, but nothing happens.

View Replies View Related

Script For Listing All Websites In IIS Using ADSI

I'd like to be able to list IIS websites and information in a web page
(presumably using ADSI). Similar to the list you get in the MMC plug-in.
Does anyone have a simple script I could start with? I'm only interested in
reading info at the moment.

View Replies View Related

Creating Exit Poll For Websites

I need to offer a questionaire to approximately every 10th user of my website when then are leaving.

My first thoughts were to use an application variable to determine the number of users but this falls over because it would not instantly release the variable when the user left the site.

View Replies View Related

Populate Data From Public Websites

I am going to construct a housing search website ... similar to www.mls.ca ... is there anyway I can populate the data(s) stores in their database? So when my user search for one kind of house, my website will return the data from the MLS database? Or there is similar way to get data from public websites?

Also, if a user search "sport" in my search text box, it will returns all the related links ... just like those search engine ... how can I acheive that? Or I need to pay or register to get the function?

View Replies View Related

SSL Folders

I have a domain www.company.com and also a sub domain like
forum.company.com I have learned that the sub domain is actually a
folder under my main domain so if I typed www.company.com/forum - it
would go to the same file as if I typed the sub domain, unfortunatly
all the files in the subdomain point to root paths eg:
/Images/logo.gif

This isn't a problem as the subdomain is seperate and I treat it like
its a new website.

I was wondering before I spend more money and activate a 10mb SSL
folder - how would I actually code for this folder?

Is the SSL on a seperate server, or just a folder off the main domain
name?

I want to do a register system "username" etc & some personnal details
through a sercure line.

Can anyone point me to where I can get more info?

View Replies View Related

Translating Folders

My web site is entirely based on XML/XSL. Transformation of XML into HTML is a
server-side process. All my URLs are like this:
http://host/Application/?Document=AnyDoc&Chapter=3. There is only one script,
default.asp, in the root web that processes requests and displays HTML content
based on the query string.I'd like to intercept calls to http://host/Application/Catalog and translate into http://host/Application/?Document=Catalog before it is passed to the custom
error 404 handler. Can it be done - do I need a HTML filter or something?

View Replies View Related

Hyperlink Sub Folders

I am writing an intranet and want to be able to hyperlink to all files
within a specific folder AND it's subfolders. Whilst I can hyperlink to the
files in the specified folder AND I can also iterate through the subfolders
and list them, for some reason I cannot hyperlink to the sub folders. I am
writing this software at home using a computer that has IIS and Windows 98
and am accessing this as my server from another computer on my network.

My Home Page on the Server is http://maxitek (the name of my Windows98
Computer) and when I look at the value of the variable "PathSpec" - it
becomes C:Inetpubwwwroot which when I try to create links to the sub
folder it is probably here where the problem is. The files themselves link,
but not with their full subfolder names, i.e., for a file called
"C:Inetpubwwwrootmytestmytest2mytest.txt" I am getting a link that just
looks like this Code:

View Replies View Related

Creating New Folders

I've looked everywhere and can't seem to figure out how to create folders. I've got a tonne of other stuff sussed and am about to attempt creating text files, but folders elude me still.

View Replies View Related

Create Folders

I have written some ASP code that creates a group of folders using the FileSystemObject. It all works fine when the folders are being created on the same server becuase I have the correct permissions. The problem is that the code is going to be activated when people do something on our intranet. The guy in IT has set up the permissions for the Inetuser account so that in theory it should work.

It isn't working though. The first place it falls over is when I check to see if a folder exists on this other server, it doesn't find it. I am trying to access it using the full path i.e.

If fso.FolderExists(//servername/folder1/folder2)) then...

That doesn't seem to work though because it doesn't find it when it definitely exists. Does anyone know how I should be doing this?

View Replies View Related

View Folders

I expect this has been covered before but I can't anything to reflect this. How (with code) can you view folders within a directory from within a drop down menu?

View Replies View Related

Searching In Folders?

How can I use these search scripts to search in folders ? Now the search is only going through the folder where the script itself is. Code:

View Replies View Related

Browsing Folders

How to adjust is so, that when an Word or xls link is clicked, that file will open in the right appl (Word or Excell) Code:

View Replies View Related

Browse For Folders

This HTML will give you a browse button that allows you to select a file on your hard drive:

***********************************************
<INPUT TYPE="File" NAME="FileName" >
***********************************************

Is there something similar that will allow you to select a partcular directory? For example, I may want to select a folder called projects rather than a file.

When I click search in Editplus, I get a browse button that allows me to select directories. Under ODBC Data Sources in my control panel, there is a button to select directories. What programming is needed to get this type of browse capability?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved