You are here

Linking to a web site on a CD?

7 posts / 0 new
Last post
Klaatu7177
Offline
Last seen: 17 years 8 months ago
Joined: 2007-06-12 14:29
Linking to a web site on a CD?

Hi- I downloaded the ini file so I can run the program directly from a CD that works great (Thanks John) however I am trying to get it to open the web site that is on the CD and get the error message can't find file?

Here is what I am doing
In main firefox folder I put my web site folder and index.html file
2) I open firefox and tell it to make the index.html file as my "home page" click on firefox works great opens site....

3) Burn to Cd take to another PC trys to open but says "can't find the file
///C/firefox/(user name)(web site).html"
SOOOOO when I "explore" the CD I see my Html file I open it and it opens fine from the CD in Firefox but in the address bar it says /// "E" /firefox/(web name)etc

So I went back to firefox opened the same web site and changed the directory from "C" to "E" said make this my default home page burn it to CD and get the same error message?

Any tips on how to make firefox recognize the web site on my CD as the default home page?

Thanks!

John Bentley
John Bentley's picture
Offline
Last seen: 15 years 6 months ago
Developer
Joined: 2006-01-24 13:26
Look at the

Look at the FirefoxPortable.ini file in /Other/FirefoxPortableSource/ there is an option to set the home page to a local html file. (You will have to copy it to /FirefoxPortable/.)

cowsay Moo
cowthink 'Dude, why are you staring at me.'

Klaatu7177
Offline
Last seen: 17 years 8 months ago
Joined: 2007-06-12 14:29
Link to a web site on CD????

Mis!! Thanks for such a speedy reply! I followed your indtructions carefully
When I "pasted" it into the /Firefox/portable file it screwed up my original ini file which allowed it to open directly from a CD
Sooooo I reinstalled the ini file that allowed it to open from a CD worked fine again but I thought "Hey Mis!! has a GREAT idea" so I opened the (CD) ini file again and low and behold there is a line that says local home=.... so I opened firefox exe and it opened my website >then I copied the URL from the address bar and pasted THAT into the ini file at "Local home=" saved it burned a CD took it to another PC and I get a similar error message "can't find///E/C/(web site) URL?

My gut says you have the PERFECT solution!
!) How can I find the correct url to insert here?
2) Is copying the URL from the address bar NOT the way to do it?
3) No matter what URL I put in there isn't that going to have to be modified to the "E" drive (CD) and how would I do that?

Thanks in advance!

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 27 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Read the readme

Again, it's fully explained in the readme.txt in the FirefoxPortableSource directory. It's a RELATIVE path to the file. Examples are given. NO drive letter should be included.

Please read the readme.

Sometimes, the impossible can become possible, if you're awesome!

Klaatu7177
Offline
Last seen: 17 years 8 months ago
Joined: 2007-06-12 14:29
Please read the read me please read the read me.....

Dam%#@ John- Honestly I did read it but (obveously) didn't understand it...
BUT THIS IS THE SECOND TIME YOU WERE ABSOLUTLY RIGHT! and gave me the solution!
THANK YOU, THANK YOU!

By adding this to your post "t's a RELATIVE path to the file. Examples are given. NO drive letter should be included."
I got it!

I just did what it said I opened the ini file typed in index.html and it WORKS PERFECTLY!

Thank you so much John!
and thank you to everyone else who posted!
and now I think I need to go back and.....read the readme...again Smile

chris0
Offline
Last seen: 15 years 4 months ago
Joined: 2006-12-02 18:51
.

Well, I don't know of a really easy way to change that. The problem is that if you put your CD in one computer it will be called the D: drive. You go to another and it will be called the E: drive and so on. As far as I know (correct me, somebody, if I'm wrong), it can't be done.

HOWEVER. There is a trick.

  1. Get XAMPP lite (I'm pretty sure you can get it here)
  2. make it autorun using an automatic application launcher like Portable Startup Utility. Or, if you only need XAMPP to run (you don't need PAM, for example, to run on insertion of the CD), you can just edit $CDDRIVE\autorun.inf and replace the "Open=" line with:
    Open=PortableApps\PortableStartupUtility\PortableStartupUtility.exe
  3. make sure that when XAMPP starts, it starts Apache (NOT the Apache service, just plain old Apache)
  4. move your HTML file to $XAMPPDIR\htdocs\home (make a folder called home) and rename your file index.html
  5. Set your homepage to http://localhost/home

uggo workaround, but that will do what you are asking for.

[EDIT] Just saw MISIIM's post. try mine only if his doesn't work.
__
chris

It is not your audience's responsibility to puzzle out what you intended to say; it is your responsibility to express yourself so clearly that no one with a modicum of intelligence and good will could possibly mistake your meaning.

__
chris

It is not your audience's responsibility to puzzle out what you intended to say; it is your responsibility to express yourself so clearly that no one with a modicum of intelligence and good will could possibly mistake your meaning.

Klaatu7177
Offline
Last seen: 17 years 8 months ago
Joined: 2007-06-12 14:29
You guys are way too talented!

Chris- I just went and peeked at the Portable Startup Utility You guys must be professional programmers to figure all this stuff out Smile
looks a bit too complicated for me....

Here is all I really want to do is put a web site on a CD and have it open in ANY browser WITHOUT giving the "active x" warning

So I can put an atorun file on the CD opens it fine in Internet Explorer HOWEVER it gives that goofy active X warning thus my venture to firedox portable...

Any suggestions?

I would think that "somewhere" there is a string of code that you could insert to the top of each Html page that (forgive my lack of experience here) makes IE NOT give that warning?

!) If so where could I find that?
2) is there a step by step tutorial?
3) Am I just being a naive pain in your butt Smile
Thanks SO VERY much!

Log in or register to post comments