Swede Posted January 30, 2009 Posted January 30, 2009 Sounded more like FP than BP! What charcoal did you use? Nice job.
andyboy Posted January 30, 2009 Posted January 30, 2009 Sounded more like FP than BP! What charcoal did you use? Nice job. I was a bit surprised to say the least. I used my home cooked willow charcoal, must have done something right with the charcoal since I ball-milled it for 2 hours, pressed and corned it as usual. Thanks on the nice job bit, I am rather pleased.
Swede Posted January 31, 2009 Posted January 31, 2009 I need the advice of an HTML guru. Quick background - I have a hobby web site, http://www.5bears.com that has been around forever and is popular, but I need to do some alterations. I'm geting really deeply into chemistry, but no one wants to sell me chemicals because they think I'm cooking drugs or some such nonsense. My web site is "5 Bears Research", and my company is an LLC. I'd like to replace my hobby web site with a simple, one-page chemistry/industrial website, so that when a chemical dealer goes to 5bears.com, they'll see that new page, detailing some real research and perhaps showing services available, such as prototyping, anodizing, and CNC. But I'd still like to have a link on there, something like "To see the old 5 bears hobby pages, click here." The problem is this... When you go to 5bears.com, it automatically brings up "index.htm", which is the hobby home page, and EVERY other HTML page on my site points to that page when you click "Home." There are probably 75 to 100 pages of HTML, and I can't edit them all. Is there any way to make this work? I want the first page brought when you go to the web site to be the chemistry page, but I want the traditional hobby pages to still work, in a fashion. Thoughts? And as always, thanks!!
Richtee Posted January 31, 2009 Posted January 31, 2009 ,they'll see that new page, detailing some real research and perhaps showing services available, such as prototyping, anodizing, and CNC. Man this sux. "Land of the free, and home of the brave" Indeed. Good idea tho :{)
Richtee Posted February 1, 2009 Posted February 1, 2009 Well..too many cocktails to do what I want... and at least not enough to know it.. So WTF. The night is dark, it begs for lightit's human nature to hate the nightA shining star to kill the frightLight my way and make it bright Some folk labor to this endThey mix up magic and dependon many that their knowledge lendAnd into night, their labor send
WarezWally Posted February 1, 2009 Posted February 1, 2009 The problem is this... When you go to 5bears.com, it automatically brings up "index.htm", which is the hobby home page, and EVERY other HTML page on my site points to that page when you click "Home." There are probably 75 to 100 pages of HTML, and I can't edit them all. Is there any way to make this work? I want the first page brought when you go to the web site to be the chemistry page, but I want the traditional hobby pages to still work, in a fashion. Thoughts? And as always, thanks!! What webserver are you running? Its a simple problem to fix, I'll assume you are using apache. You will need to edit your httpd.conf file, find the line "DirectoryIndex" and replace index.htm and index.html with whatever you want to call your main chem page (home.html, chem.html etc), save and restart your webserver. What you have done is changed what Apache will serve if a directory is requested (in your case root).
Swede Posted February 1, 2009 Posted February 1, 2009 What webserver are you running? Its a simple problem to fix, I'll assume you are using apache. You will need to edit your httpd.conf file, find the line "DirectoryIndex" and replace index.htm and index.html with whatever you want to call your main chem page (home.html, chem.html etc), save and restart your webserver. What you have done is changed what Apache will serve if a directory is requested (in your case root). Thanks Wally! They are using Apache. When I go to my cPanel, I get to access mysterious stuff I am afraid to mess with. The basic files and folders I see: .cpaddons .cpanel .cpanel-datastore .fantasticodata .htmltemplates .htpasswds .sqmaildata .trash access-logs etc logs mail public_ftp public_html tmp www .addon-installlog .addonscgi-AdvancedGuestBook .contactemail .cpanel-ducache .filter .ftpquota .lastlogin .mailboxlist robots.txt I looked through them and was unable to find that file. Any thoughts of where this might be? A PM may be more appropriate, as no one else really cares about my HTML woes. If you do have more insight or suggestions, I would really appreciate them.
TheSidewinder Posted February 1, 2009 Posted February 1, 2009 I can't say if Wally is correct, since I don't have a dedicated server running WHM/cPanel. And your description of what you want to achieve is incomplete, insofar as more info is needed to solve the problem completely. However, what you are asking can be achieved by editing (or creating) a file named .htaccess and putting it in any directory where you want to change the default ordering of served pages. i.e. in public_html, if you have a page named index.html and want people to be automatically served that page when they enter "http://www.5bears.com", then create a file named .htaccess in the public_html directory, and then use as much of the following info as you deem necessary. I'll explain each section with a "****************************************** RewriteEngine on Options -Indexes order allow,deny deny from 123 deny from 123.456 deny from 123.456.789 deny from 123.456.789.012 allow from all DirectoryIndex index.html RewriteCond %{HTTP_REFERER} !^http://5bears.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://5bears.com$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.5bears.com/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.5bears.com$ [NC] RewriteCond %{HTTP_USER_AGENT} ^atSpider/1.0 [OR] RewriteCond %{HTTP_USER_AGENT} ^autoemailspider [OR] RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR] RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot@yahoo.com [OR] RewriteCond %{HTTP_USER_AGENT} ^CherryPicker [OR] RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR] RewriteCond %{HTTP_USER_AGENT} ^Crescent [OR] RewriteCond %{HTTP_USER_AGENT} ^Custo [OR] RewriteCond %{HTTP_USER_AGENT} ^DIIbot [OR] RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR] RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR] RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR] RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR] RewriteCond %{HTTP_USER_AGENT} ^EmailCollector [OR]RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR] RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR] RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR] RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR] RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR] RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR] RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR] RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR] RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR] RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR] RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR] RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR] RewriteCond %{HTTP_USER_AGENT} ^HMView [OR] RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR] RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR] RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR] RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [OR] RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR] RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [OR] RewriteCond %{HTTP_USER_AGENT} ^larbin [OR] RewriteCond %{HTTP_USER_AGENT} ^LARBIN-EXPERIMENTAL [OR] RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR] RewriteCond %{HTTP_USER_AGENT} ^LinkWalker [OR] RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple/5.803 [OR] RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR] RewriteCond %{HTTP_USER_AGENT} ^Microsoft.URL [OR] RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR] RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [OR] RewriteCond %{HTTP_USER_AGENT} ^MFHttpScan [OR] RewriteCond %{HTTP_USER_AGENT} ^MSFrontPage [OR] RewriteCond %{HTTP_USER_AGENT} ^NICErsPRO [OR] RewriteCond %{HTTP_USER_AGENT} ^Navroad [OR] RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR] RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR] RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR] RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [OR] RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR] RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR] RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [OR] RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [OR] RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR] RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [OR] RewriteCond %{HTTP_USER_AGENT} ^pavuk [OR] RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR] RewriteCond %{HTTP_USER_AGENT} ^Poirot [OR] RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR] RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR] RewriteCond %{HTTP_USER_AGENT} ^Scan4Mail [OR] RewriteCond %{HTTP_USER_AGENT} ^Siphon [OR] RewriteCond %{HTTP_USER_AGENT} ^sitecheck.internetseer.com [OR] RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR] RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR] RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR] RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR] RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR] RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR] RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR] RewriteCond %{HTTP_USER_AGENT} ^TrackBack/1.02 [OR] RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR] RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [OR] RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR] RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR] RewriteCond %{HTTP_USER_AGENT} ^webcollage [OR] RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR] RewriteCond %{HTTP_USER_AGENT} ^WebEMailExtrac.* [OR] RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR] RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [OR] RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [OR] RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR] RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR] RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [OR] RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [OR] RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR] RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR] RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR] RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR] RewriteCond %{HTTP_USER_AGENT} ^Wget [OR] RewriteCond %{HTTP_USER_AGENT} ^Widow [OR] RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [OR] RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[bb]andit [OR] RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR] RewriteCond %{HTTP_USER_AGENT} ^Zeus RewriteRule .*\.(jpg|jpeg|gif|png|bmp|avi|mov|wma|wmf|wmv|doc|pps|xls)$ /leecher.html [R,NC] OK, that covers the basics. One more thing to remember. .htaccess rights "flow down" to any subdirectory. The presence of an .htaccess file in a SUB-directory will override choices made, but only if you specify them. i.e. "Options -Indexes" flows down, UNLESS there is an .htaccess file in a subdirectory that specifically revokes that with "Options Indexes". And if you'd like me to, I'd be more than happy to do this for you if you can tell me some more info (that we'll exchange via PM for security). You've contributed a great deal here, and I'd be happy to "pay it back". Give me a PM if you're interested.
Swede Posted February 1, 2009 Posted February 1, 2009 (edited) TS and Wally, thank you, I really appreciate it. Let me try a couple of simple things, and if those don't work, TS I may take you up on your offer. This is the sort of situation where being an IT pro (or having one nearby) is damned handy. I can write and post HTML, but beyond that, forget it. For a while, I had a "Guest Book", and it got bombed and hacked so badly that I eventually had to kill it. You'll know I've succeeded if http://www.5bears.com shows a picture of a rocket or some pyro item rather than my whole suite of metalworking pages. EDIT: Hot damn, it worked! There was a .htaccess file in the www directory which is where I post all my stuff, and I added these lines... ONLY these lines, and it brings me up in my protective monkey suit... I simply made a quick welcome.htm file, stuck it in the www directory. Click on the link for the old pages. YESS! RewriteEngine onOptions -Indexesallow from all DirectoryIndex welcome.htm The original .htaccess file that was there was empty except for this single line: RedirectMatch permanent ^/freed.htm$ http://www.clear-and-a-million.com Which I have no idea what it does. So all I really need to do now is come up with, or copy, a "professional" lab's home page with few or no links, name it welcome.htm, and I'll look like a pro instead of a hobbyist. Thanks! I can't keep me up in the monkey suit forever, but it surely does work slick. Time to get going on a decent "welcome" page. Edited February 1, 2009 by Swede
TheSidewinder Posted February 1, 2009 Posted February 1, 2009 Hmmm.... no picture of any Pyro item, just a page with "5 Bears Research LLC" below an arrowhead graphic. But I see your link to the "old site" on that page, so I think you've got it straight. There's a lot more I could add to your "protective monkey suit", by the way. LMK.M
WarezWally Posted February 2, 2009 Posted February 2, 2009 Seems you have got it sorted, TS's method does the exact same thing but uses a .htaccess file instead of directly editing the Apache config.
Swede Posted February 2, 2009 Posted February 2, 2009 Thank you both again. The arrowhead graphic thing is just a homepage template ganked from some freebie web site. Functionally, it is doing what I want it to do. The protective monkey suit was too embarrassing to leave up for very long!
crazyboy25 Posted February 3, 2009 Posted February 3, 2009 New blog entry: synthesis of copper benzoate and other metal benzoates, enjoy.
Mumbles Posted February 3, 2009 Posted February 3, 2009 Have you tried it out in any compositions to see if you successfully washed all the sodium out?
crazyboy25 Posted February 3, 2009 Posted February 3, 2009 Not yet I plan to get some ammonium perchlorate from my friend. But the benzoic acid was recrystallized several times and the copper carbonate was washed with several liters of water. The copper benzoate flame test showed no contamination but it is possible.
TheSidewinder Posted February 3, 2009 Posted February 3, 2009 Swede, I just took a a closer look at your post. If it's still there, REMOVE the line from your .htaccess file that says "RedirectMatch permanent ^/freed.htm$ http://www.clear-and-a-million.com". It's a spam link of some sort. Any idea how it got there?
Swede Posted February 3, 2009 Posted February 3, 2009 Swede, I just took a a closer look at your post. If it's still there, REMOVE the line from your .htaccess file that says "RedirectMatch permanent ^/freed.htm$ http://www.clear-and-a-million.com". It's a spam link of some sort. Any idea how it got there? Nope, and I'm too stupid to recognize such things, although now that I look at the line, it does look suspicious. Being a hobby site, I had few problems with hacking or attacks. I guess the hackers had bigger fish to fry. Thanks for the head's up... I will remove it.
Richtee Posted February 4, 2009 Posted February 4, 2009 (edited) OK I know we're all spltting dimes, and the craft means something, but BY GAWD I'l love to be able to order a couple pounds of diffrent stars already made. I suppose shipping regs would prohibit that. But as I try to wash NC outta my jeans and poly glue off my hands, and clean my screens and explain the funny smell coming from the basement and... Ahh I love it :{) Edited February 4, 2009 by Richtee
TheSidewinder Posted February 4, 2009 Posted February 4, 2009 Nope, and I'm too stupid to recognize such things, although now that I look at the line, it does look suspicious. Being a hobby site, I had few problems with hacking or attacks. I guess the hackers had bigger fish to fry. Thanks for the head's up... I will remove it. You? Stupid? Hardly. A matter of specialties. Mine's IT and the Web. Yours is something that glazes my eyes, scrambles my brain, and makes my teeth itch when I try to understand it. You lost me about 8 Blog entries ago.
Mumbles Posted February 4, 2009 Posted February 4, 2009 Richtee. If you get an ATF licence, the only place I know that sells stars is in your state.
Richtee Posted February 4, 2009 Posted February 4, 2009 Richtee. If you get an ATF licence, the only place I know that sells stars is in your state. Huh- cool. I don't have that, of course, but for grins- gotta link? Maybe they do plant tours or something
MilkyJoe Posted February 4, 2009 Posted February 4, 2009 Maybe they do plant tours or something Haha if they did I suspect there would be a dress code - "Strictly no pockets!"
Pretty green flame Posted February 4, 2009 Posted February 4, 2009 Haha if they did I suspect there would be a dress code - "Strictly no pockets!" I guess they don't give out any free samples there
Mumbles Posted February 4, 2009 Posted February 4, 2009 They always advertise out of the back of the PGI bulletins. Clayton is the city if I remember correctly. I think you can also get them from Precocious Pyrotechnics at the PGI conventions. At least comets and crossettes. That is without a licece too.
Richtee Posted February 4, 2009 Posted February 4, 2009 They always advertise out of the back of the PGI bulletins. Clayton is the city if I remember correctly. I think you can also get them from Precocious Pyrotechnics at the PGI conventions. At least comets and crossettes. That is without a licece too. Ahh found them. Just might give a call... after all hey..it's just 'sparklers" right? inconvienient to use...but they don't explode nor leave the ground... on their own?
Recommended Posts