This is a discussion on "Newbie question - update ASP on server" within the Classic ASP section. This forum, and the thread "Newbie question - update ASP on server are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Newbie question - update ASP on server
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Newbie question - update ASP on server
Hello all,
I'm new to ASP, so this question might sound silly to most of you. I have an ASP site which I need to update, I'm using MS FrontPage. I don't want to change it directly, so I created a new directory (called "updated") where I copied all files. I have for example a file "left_nav.asp", containing links to other pages. I changed this file, in "updated" directory, and I see OK my changed file if I write in browser the name www.mysite.com/updated/, but when I click on a link, it goes to the original file, not to the file from "updated" directory. What should I do ? Or maybe other suggestion to work with the site directly on server, but without affecting yet the website seen by visitors, because the owner must review it before I update it for good. thank you |
|
|
|
#2
|
||||
|
||||
|
Re: Newbie question - update ASP on server
Sounds like your links will work fine when the site is back in the root folder (ie www.mysite.com). You've most likely set up the links to point directly to the file (ie http://www.mysite.com/index.asp or http://www.mysite.com/folder/index.asp instead of index.asp or /folder/index.asp).
|
|
#3
|
|||
|
|||
|
Re: Newbie question - update ASP on server
the links are like this: <a href="../cat_select.asp?showtype=byitemgroup&itemgroup=Book s&job10=new">Books</a>
Could it be because of global.asa ? |
|
#4
|
|||
|
|||
|
Re: Newbie question - update ASP on server
just now I realized that the link <a href="../cat_select.asp?showtype=byitemgroup&itemgroup=Book s&job10=new">Books</a>
should be <a href="cat_select.asp?showtype=byitemgroup&itemgrou p=Books&job10=new">Books</a> and this is how it is in the original file. When copying the files the links are automatically updated ? (because I didn't change this file) |
|
#5
|
||||
|
||||
|
Re: Newbie question - update ASP on server
Links won't be automatically updated, so you'll need to do that yourself. You were correct in the link fix.
|
|
#6
|
|||
|
|||
|
Re: Newbie question - update ASP on server
What I ment is: I had the orginial file, with the link like this "href=cat_select.asp?...."
I selected this file, then click COPY, and then PASTE into my work directory. When viewing this pasted file, in order to change it, the link was already changed, and it looks this way: "../cat_select.asp?...", that was why I was asking if somehow MS FrontPage is updating the link (although I didn't want that) |
|
#7
|
||||
|
||||
|
Re: Newbie question - update ASP on server
Sorry, I misunderstood. Yes, I think frontpage will update the links automatically for you. An easy way to avoid this is just to use a normal ftp client to transfer the files without updating anything, or...
Doing all the development on your local machine and uploading the files once you have tested everything. |
![]() |
| Tags |
| newbie, question, update, asp, server |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My first server question | shammy2007 | Hosting & Domains | 6 | Mar 5th, 2008 22:18 |
| Newbie Question | kelbrit | Webforumz Suggestions and Feedback | 4 | May 9th, 2007 13:10 |
| XSL Newbie Question | mr4thjuly | Other Programming Languages | 0 | Oct 19th, 2006 17:37 |
| PHP question (newbie) | btfans | PHP Forum | 7 | Dec 6th, 2005 02:53 |
| Update form question | David Blake | Databases | 0 | Nov 26th, 2005 15:59 |