Go to Post Teamwork, dedication and friendship have a lot of play in all factors of life, including a robot contest. - tenthirtythree [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-07-2004, 22:35
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Change drive letter with HTML

Hi all, I'm working on my website and wish to access another hard drive from the webpage, the other harddrive has shareware and other programs and a larger harddrive than the one my site is defaulted to. Is there ( I HOPE) html code which i can use to switch to another harddrive? Or does anyone have another idea as to how I can access the other harddrive(s) using links with my website?
  #2   Spotlight this post!  
Unread 05-07-2004, 22:47
FizMan's Avatar
FizMan FizMan is offline
aboot, eh?
AKA: Chris Sinclair
#0783 (Mobotics)
Team Role: Alumni
 
Join Date: Feb 2004
Location: Toronto, Canada
Posts: 102
FizMan will become famous soon enough
Send a message via AIM to FizMan Send a message via MSN to FizMan
Re: Change drive letter with HTML

Unfortunately, I think this is a larger problem than you might realize.


I'm assuming you want this website to be accessible from the web. And therefore, your computer will also need to somehow be accessible.


This means you'll need to install some kind of web-server program on your machine. (Apache or SimpleServer for example...) 'least I think it's called "SimpleServer"... haven't used it in years in favour of Apache

AND THEN, people would connect to that computer via its IP address. (i.e. http://64.229.54.96/index.htm/) HOWEVER, if your computer uses a dynamic IP (that is, the IP changes each time you connect) then you'd need to setup a redirect that sends the person to your new IP automatically (http://www.no-ip.com will do this for you)

And once that's all done, you might want consider throwing on a firewall since your computer is now accessible from the net.

And to top it all off, while this computer might have a larger hard disk, its bandwidth I'm assuming is going to be rather limited. For example, many broadband connections have an UPLOAD bandwidth of around 200kilobits/second. (note that this is different than your DOWNLOAD bandwidth) And this is in kilobits... so it'd 25kilobytes/second... and that's to a single person. This number is split as more people access your site.
__________________
Joules per second! Watt? Joules per second! Watt? Jouls per second! Watt?
  #3   Spotlight this post!  
Unread 05-07-2004, 22:48
Yan Wang's Avatar
Yan Wang Yan Wang is offline
Ithaca is Gorges
AKA: John Wayne
FRC #0639 (Code Red Robotics)
Team Role: Alumni
 
Join Date: Sep 2002
Rookie Year: 2001
Location: Cambridge, MA
Posts: 1,910
Yan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud of
Send a message via ICQ to Yan Wang Send a message via AIM to Yan Wang Send a message via MSN to Yan Wang Send a message via Yahoo to Yan Wang
Re: Change drive letter with HTML

Maybe some cleverly written virus exploiting one of IE's problems can do that... but in general...

HECK NO!

No html should be able to change ANY of my system settings.
__________________
Code Red Robotics Team 639 Alumnus | www.team639.org
<Patrician|Away> what does your robot do, sam
<bovril> it collects data about the surrounding environment, then discards it and drives into walls

Last edited by Yan Wang : 05-07-2004 at 23:02.
  #4   Spotlight this post!  
Unread 05-07-2004, 23:00
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Change drive letter with HTML

Quote:
Originally Posted by FizMan
Unfortunately, I think this is a larger problem than you might realize.


I'm assuming you want this website to be accessible from the web. And therefore, your computer will also need to somehow be accessible.


This means you'll need to install some kind of web-server program on your machine. (Apache or SimpleServer for example...) 'least I think it's called "SimpleServer"... haven't used it in years in favour of Apache

AND THEN, people would connect to that computer via its IP address. (i.e. http://64.229.54.96/index.htm/) HOWEVER, if your computer uses a dynamic IP (that is, the IP changes each time you connect) then you'd need to setup a redirect that sends the person to your new IP automatically (http://www.no-ip.com will do this for you)

And once that's all done, you might want consider throwing on a firewall since your computer is now accessible from the net.

And to top it all off, while this computer might have a larger hard disk, its bandwidth I'm assuming is going to be rather limited. For example, many broadband connections have an UPLOAD bandwidth of around 200kilobits/second. (note that this is different than your DOWNLOAD bandwidth) And this is in kilobits... so it'd 25kilobytes/second... and that's to a single person. This number is split as more people access your site.

Ok, sorry, i guess I missed telling some of my specs. This computer is a dual AMD 2ghz with 1/2 gig mem, win XP Pro with apache running on it very stable. 80 GB hd split 15-20-25 (approx.).

this computer is already accessable online mike-site.us or . mike21.mine.nu
The first is newly registered

I have 400kbps (44.4KBps) sDSL, thus static IP. tested it is that fast, if not faster sometimes ( itwas 2.1 mbps for about a day then 1.5 for 2 weeks, accidently ) so I do not have any bandwith worries, if its gets sluggish I'll just up the speed for a little more cost. (have any money you would like to donate?). I need the HTML coding to access the other harddrives via the web by someone linking around my site.

Last edited by Mike AA : 05-07-2004 at 23:04.
  #5   Spotlight this post!  
Unread 05-07-2004, 23:28
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: Change drive letter with HTML

I'm not exactly sure what you mean by "access the other harddrives via the web by someone linking around my site." but I assume you mean have files on the other harddrive be web accesible. The directories that are web accesible on your computer are set in Apache. I'm not sure exactly what the setting will be, but somewhere in the config file, etc, you can map a directory/drive to a web accesible directory.
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award
  #6   Spotlight this post!  
Unread 05-07-2004, 23:34
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Change drive letter with HTML

Quote:
Originally Posted by maxlobovsky
I'm not exactly sure what you mean by "access the other harddrives via the web by someone linking around my site." but I assume you mean have files on the other harddrive be web accesible. The directories that are web accesible on your computer are set in Apache. I'm not sure exactly what the setting will be, but somewhere in the config file, etc, you can map a directory/drive to a web accesible directory.

thanks, thats what I want to do. I didn't think about something in apache's config file. I'll try that. Thanks again
  #7   Spotlight this post!  
Unread 06-07-2004, 00:31
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Change drive letter with HTML

ok, looking on apache's website and looking through the config file I am unable to find the syntax to alias to the other drives. Please help!
  #8   Spotlight this post!  
Unread 06-07-2004, 01:46
Pierson's Avatar
Pierson Pierson is offline
Registered User
no team
Team Role: College Student
 
Join Date: Nov 2001
Rookie Year: 2000
Location: Los Angeles, CA
Posts: 881
Pierson is a glorious beacon of lightPierson is a glorious beacon of lightPierson is a glorious beacon of lightPierson is a glorious beacon of lightPierson is a glorious beacon of lightPierson is a glorious beacon of light
Send a message via AIM to Pierson
Re: Change drive letter with HTML

If your website is hosted on one computer say http://server1.com/yoursite and you have other files on a computer that also has an ip address or a DNS name, than just link to your files from the main site to the secondary site like this: < a href="http://Example2/ExampleProgram.exe">Text</a>

<edit> OK... so after re-reading the thread is your problem not knowing how to edit the apache config file? </>
__________________
Pierson
Former Captain & Fundraiser of Team 360
__________________
Join in on these fun threads:
Three Worded Story
Word Association

Last edited by Pierson : 06-07-2004 at 01:50.
  #9   Spotlight this post!  
Unread 06-07-2004, 02:31
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: Change drive letter with HTML

What you need to setup is called an alias. Technically, an alias maps to a directory that is not in the web server's document root. I would try modifying the Apache config file with something like the following:

Code:
Alias /shareware_dir "X:\shareware\"
<Directory "X:\shareware">
       Options Indexes FollowSymLinks MultiViews ExecCGI
       AllowOverride All
       Order allow,deny
       Allow from all
</Directory>
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
  #10   Spotlight this post!  
Unread 06-07-2004, 10:08
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Unhappy Re: Change drive letter with HTML

Quote:
Originally Posted by MikeDubreuil
What you need to setup is called an alias. Technically, an alias maps to a directory that is not in the web server's document root. I would try modifying the Apache config file with something like the following:

Code:
Alias /shareware_dir "X:\shareware\"
<Directory "X:\shareware">
       Options Indexes FollowSymLinks MultiViews ExecCGI
       AllowOverride All
       Order allow,deny
       Allow from all
</Directory>
ok, I tried that, I'm not getting it to work, I've changed my coding and directories to shareware to make it a little easier, within the above code I changed x to d because the files I want to access are on my d drive. What am I missing? Alias' are loaded.
  #11   Spotlight this post!  
Unread 06-07-2004, 10:21
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: Change drive letter with HTML

Quote:
Originally Posted by Mike AA
ok, I tried that, I'm not getting it to work, I've changed my coding and directories to shareware to make it a little easier, within the above code I changed x to d because the files I want to access are on my d drive. What am I missing? Alias' are loaded.
Have you tried restarting Apache? Configurations files are loaded only on a [re]start. If you don't know how to restart Apache, just restart your computer.
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
  #12   Spotlight this post!  
Unread 06-07-2004, 10:51
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Change drive letter with HTML

Quote:
Originally Posted by MikeDubreuil
Have you tried restarting Apache? Configurations files are loaded only on a [re]start. If you don't know how to restart Apache, just restart your computer.

Ok, I've tried everything I can think of and have restarted after each change of the config file. I decided since I have FTP setup to just use that. Thanks for everyone's help, I have have another suggestion other than FTP let me know. You can access my site at mike-site.us What i've been working on is at the bottom "downoads" I have some stuff more to come, if you have something you'd like to have posted let me know and i can give you access to a directory to upload a file or files.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Globe gear box Pat Roche Motors 9 25-05-2004 22:50
Four Wheel, all steering, non-omniwheel, ONE power/motor source drive FizMan Technical Discussion 31 27-04-2004 12:12
1 stick drive to 2 stick drive wayne 05 Programming 18 01-04-2004 16:41
heres the code. y this not working omega Programming 16 31-03-2004 15:18
What is wrong with this code???? It won't Compile and I don't know why? Please Help CrashZero Programming 23 26-03-2004 09:44


All times are GMT -5. The time now is 00:36.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi