View Full Version : / on C://
04-04-2003, 05:21 PM
Hi, I am building my website. but after I want to do that thing to go to root directory:
get me? Any way I can restrict it to go back to mysite folder, like it was on net without any major coding?
04-04-2003, 05:24 PM
If you have the page in the same folder as the image folder just do:
if the images folder is in the folder above the page's folder just do:
That what you wanted?
04-04-2003, 10:15 PM
if i dont have alot, i just keep it in the same folder. that way you can just type in the file name.
04-08-2003, 09:28 PM
It's a common problem that I have to fix between my templates and published copies. Long long ago, there was a program called apend.exe or maybe it was subst.exe, both were for DOS and would let you make a new drive that was just a shortcut to another folder. But Is there a Windows equivalent?
Install a server and set the root directory so it fits your needs.
If you use IE Windows you can probably get away with the good ol' <base href="">. It doesn't seem to care if the URL contains mixed slashes.
04-09-2003, 11:01 PM
Lets say your folder is C:\site\stuff and you want it to be recognized as the root. Do this at a command prompt:
subst K: C:\site\stuff
Now access K via My Computer or something. K is a drive that is actually C:\site\stuff, but now you have the benefit of it being the root. Enjoy!
04-09-2003, 11:35 PM
What do you mean?
04-10-2003, 12:15 AM
subst k: C:\anything\
makes K:\ C:\anything
Now all root hrefs point to K:\ which is really your c:\anything folder or such. Get it?
04-10-2003, 12:26 AM
You can do the same thing with "Tools > Map Network Drive" in windows explorer - map any arbitrary folder to a spare drive letter.
But I'd recommend you get a web server; then you'd be able to develop server-side scripts as well :)
04-10-2003, 12:41 AM
That sounds great to me, but I need a new computer as it is. It can crash any day now, and I don't have a working cd drive to reinstall windows. It was once so bad I had to reinstall 3 times in 1 month. Curse Compaq computers!:mad: But I can't do a thing without a credit card. And don't servers cost around $10,000?
04-10-2003, 01:16 AM
Well servers can yes. But you can get web server software for free, i.e. Apache. And if you got windows NT4, 2000, or XP you can use IIS as your webserver, which is included with the OS.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.