Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 66 guests, and 205 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Posts: 781
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 15
SteveS 9
isaac 9
Ruben 6
Morgan 5
jorb 4
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
CGI bins #200016
10/27/07 09:36 AM
10/27/07 09:36 AM
Rose  Offline OP
addict
Joined: May 2006
Posts: 605
Leesburg, FL
Hey guys, I wondered if you could answer a question for me.

Our hosting company recently migrated all their servers, and left our website in a shambles. frown

Among other things, they moved our CGI bin above the root, and none of our CGI scripts are working. I guess we'll figure it out, but my question is, should a CGI bin be above or below the root?

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: CGI bins [Re: Rose] #200018
10/27/07 10:30 AM
10/27/07 10:30 AM
I
Ian  Offline

Carpal Tunnel
Joined: Jun 2006
Posts: 4,374
Essex, UK
It can be either - usually above the root though - with a direct link to it.

Therefore yoursite.com/cgi-bin/script.pl will go to \home\yoursite.com\cgi-bin\ and perhaps your site is at \home\yoursite.com\files\

Re: CGI bins [Re: Ian] #200019
10/27/07 10:35 AM
10/27/07 10:35 AM
Rose  Offline OP
addict
Joined: May 2006
Posts: 605
Leesburg, FL
But how do you access the cgi-bin from a web-browser (url) or a link, if it is above the root.

Re: CGI bins [Re: Rose] #200020
10/27/07 10:38 AM
10/27/07 10:38 AM
I
Ian  Offline

Carpal Tunnel
Joined: Jun 2006
Posts: 4,374
Essex, UK
Should still be yoursite.com/cgi-bin/

If you are not seeing that then your host has not mapped it properly - it might be cgibin or possibly something else.


Re: CGI bins [Re: Ian] #200022
10/27/07 10:43 AM
10/27/07 10:43 AM
Rose  Offline OP
addict
Joined: May 2006
Posts: 605
Leesburg, FL
Thanks Ian, we'll try that. smile

Re: CGI bins [Re: Rose] #200039
10/27/07 07:25 PM
10/27/07 07:25 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
It can be either, most commonly it's above the web-root. They tell the webserver the directory and it rewrites yoursite.tld/cgi-bin accordingly; it's quite common.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: CGI bins [Re: Gizmo] #200048
10/27/07 10:08 PM
10/27/07 10:08 PM
Rose  Offline OP
addict
Joined: May 2006
Posts: 605
Leesburg, FL
Right, but it's not working. I'm real angry right now.

We got an email from them saying they are migrating servers, but not to expect much, if any, problems. That was the weekend we went to the Grand Canyon. While we were away, the site was down for an entire day.

Since then, all our CGI scripts aren't working because they decided to move our bin. Post variables on php pages aren't working. The server time is off by an hour, and our chat room isn't working.

They told us in the original email, that the server address wouldn't change, but it did. We don't dare change the server address for the forums, because of the post variables - they aren't working on all the php pages the we did change to the new server address.

To add insult to injury, they really don't seem to care.

Can anyone tell me about the hosting company that Josh (JoshPet) works for now? It has a great rep, right?

We're ready to move on - we've had enough of their prices and database size limits anyway.

Sorry, it's been frustrating. frown

Re: CGI bins [Re: Rose] #200050
10/27/07 11:50 PM
10/27/07 11:50 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
I've not delt with Josh's hosting company in any way, so I can't vouch for them. I have however had great experiances with www.webintellects.com and theres a forum at ubbdev that lists some hosting experiances.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: CGI bins [Re: Gizmo] #200053
10/28/07 12:28 AM
10/28/07 12:28 AM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
http://lunarpages.com has been nothing but excellent for me. i have a dedicated II with them and it's awesome smile

you get what you pay for, in most cases wink

Re: CGI bins [Re: SD] #200054
10/28/07 01:04 AM
10/28/07 01:04 AM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
SD, can you vouch for their virtual hosting plans or just their dedicated servers?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: CGI bins [Re: Gizmo] #200056
10/28/07 01:12 AM
10/28/07 01:12 AM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
both. i started with VPS and the only reason i upgraded to Dedicated was that i personally preferred my own box and had the $ to do it.

The VPS was fine. All their Cpanels are now updated to the latest stuff, so it's very easy to even add in RoR (which i've done laugh ).

Essentially, you get latest apache, php, mysql and a lot of other stuff that ubbthreads doesn't really need, but is cool for geeks wink

Re: CGI bins [Re: SD] #200062
10/28/07 04:43 AM
10/28/07 04:43 AM
I
Ian  Offline

Carpal Tunnel
Joined: Jun 2006
Posts: 4,374
Essex, UK
You can always host with me Rose - I will do you a good price wink

Re: CGI bins [Re: Ian] #200082
10/28/07 04:07 PM
10/28/07 04:07 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
VPS != Virtual Hosting, standard vhosting (and usually VPS hosting) are generally oversold in the market.

VHosting is the standard environment every joe schmo offers, VPS hosting is Virtual Private Server (or Virtual Dedicated Server), and you should know what a dedicated host is (since you use it)...



I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: CGI bins [Re: Gizmo] #200085
10/28/07 04:25 PM
10/28/07 04:25 PM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
you talking to me ? if so, i know what VPS is since i had it and still decided to upgrade to dedicated.

Re: CGI bins [Re: SD] #200087
10/28/07 04:41 PM
10/28/07 04:41 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
Yes, I was talking to you... If you know what a VHost is, then when I asked if you could vouch for them for VHosting why did you ramble on about VPS'?

I highly doubt most UBB owners are on anything more than a standard virtual hosting environment, I'm sure they'd love to pay these dirt cheap prices for VHosting rather than $50+ for a VPS or $100+ for a dedi lol...

I'm merely seeking information on this webhost you so love and enjoy for these users who don't have the wallet to afford a dedicated server every month... Especially since I can't vouch for any webhost for Virtual Hosting... (just their response time and other services)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: CGI bins [Re: SD] #200088
10/28/07 04:45 PM
10/28/07 04:45 PM
Yarp™  Offline
veteran
Joined: Aug 2006
Posts: 1,530
Breda, NL
We run themepark.nl on a shared hosting environment from NXS Internet. We pull away about 70 gb a month which is mostly just pages from the forum (we don't offer image hosting). We have no complaints whatsoever about our site performance.

So shared hosting is not per se a bad thing. As a guy from NXS once said to me, if we can host a thousand websites on our virtual hosting cluster, yours doesn't realy makes the difference.


[Linked Image]
Re: CGI bins [Re: Yarp™] #200091
10/28/07 05:09 PM
10/28/07 05:09 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
For me, I don't like running on a VirtualHost... I enjoy customizations, I like upgrading PHP/MySQL whenever I get the need to lol... But I don't knock those on vhosts; in fact I try to lookout for them whenever possible


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: CGI bins [Re: Gizmo] #200093
10/28/07 05:21 PM
10/28/07 05:21 PM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
Originally Posted by Gizmo
Yes, I was talking to you... If you know what a VHost is, then when I asked if you could vouch for them for VHosting why did you ramble on about VPS'?


talk about pot / kettle / black dude. you are the king of mis-reads and topic hijaacks. so get real. i misread vhost and reply vps and you get holier than thou on me.

matter of fact i also currently have vhost with them.. it's dirt cheap and i don't know if i'd vouch for them as they started complaining about CPU loads for a medium sized board.

happy now?

you usually get what you pay for.

Re: CGI bins [Re: SD] #200100
10/28/07 06:18 PM
10/28/07 06:18 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
Originally Posted by Sirdude
talk about pot / kettle / black dude. you are the king of mis-reads and topic hijaacks. so get real. i misread vhost and reply vps and you get holier than thou on me.
Man you fly off the handle easily... I simply asked you to reiterate your comments as to get a valid stance as I have several clients in VHosting environments and was looking for places to refer them to... Next time calm the hell down, all I wanted was your advice here...

Though, you ultimately answered my question, which is a "don't bother with them" with:
Originally Posted by Sirdude
i don't know if i'd vouch for them as they started complaining about CPU loads for a medium sized board.


As with "you get what you pay for" eventually every site grows out of a VHost ability, sites get large, that's the reason we start sites, to get popular. And sooner or later we have to go with dedicated resources (with a VPS) or even a dedicated server as to stop monopolizing a server.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: CGI bins [Re: Gizmo] #200101
10/28/07 06:24 PM
10/28/07 06:24 PM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
lol whatever giz

[Linked Image]

i need to work on some php crapola.. have a nice day

i'm only doing this to keep Yarp™ entertained wink

Re: CGI bins [Re: SD] #200102
10/28/07 06:35 PM
10/28/07 06:35 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
Remind me not to bother with seeking advice from you in the future... It leads to nothing more than you blatantly flaming me and not even answering the question at hand usually... Sad when all I asked was "how are they with VHosting vs dedicated"...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: CGI bins [Re: Gizmo] #200114
10/29/07 05:08 AM
10/29/07 05:08 AM
Mark S  Offline
Joined: Jul 2006
Posts: 4,722
Liverpool : England : UK
[Linked Image]

You guys are my entertainment on here lol


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Re: CGI bins [Re: Mark S] #200126
10/29/07 10:24 AM
10/29/07 10:24 AM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
[Linked Image]
i try to make a run @ Giz at least once per month, as a matter of due course. it was overdue wink

stay tuned for next month's installment..

Re: CGI bins [Re: Mark S] #200127
10/29/07 11:08 AM
10/29/07 11:08 AM
Rose  Offline OP
addict
Joined: May 2006
Posts: 605
Leesburg, FL
Originally Posted by Mark S
[Linked Image]

You guys are my entertainment on here lol


I was scared! (not really)

Re: CGI bins [Re: Rose] #200128
10/29/07 11:26 AM
10/29/07 11:26 AM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
lol, official thread hijaack since i've learned from the master himself..

Linky Poo

Re: CGI bins [Re: SD] #200159
10/29/07 05:02 PM
10/29/07 05:02 PM
Mark S  Offline
Joined: Jul 2006
Posts: 4,722
Liverpool : England : UK
Catching isn't it lol wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Re: CGI bins [Re: SD] #200162
10/29/07 05:07 PM
10/29/07 05:07 PM
driv  Offline

Joined: Jan 2004
Posts: 2,656
Originally Posted by Sirdude
lol, official thread hijaack since i've learned from the master himself..

Linky Poo


My son thanks you for that (He's a ninja in training) smile


Using version :: 7.6.2
Re: CGI bins [Re: driv] #200183
10/29/07 06:56 PM
10/29/07 06:56 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
Yeh, asif pissing someone off with anxiety issues was really fun in the first place :/ :mumbles and walks off:


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: CGI bins [Re: Ian] #200268
10/30/07 04:46 PM
10/30/07 04:46 PM
driv  Offline

Joined: Jan 2004
Posts: 2,656
Originally Posted by Ian
Should still be yoursite.com/cgi-bin/

If you are not seeing that then your host has not mapped it properly - it might be cgibin or possibly something else.



Can you explain this please?

I've just installed Ubuntu on an old PC.
I've installed apache as well.

I've configured it so that instead of reading the default apache website it goes to /home/driv/public_html

Now I guess I should put the cgi-bin in /home/driv/? (which is above the root???)

OR should I do something like

/home/driv/public_html/www/
and
/home/driv/public_html/cgi-bin

in which case, how do I 'map' it properly?

Thanks laugh



Using version :: 7.6.2
Re: CGI bins [Re: driv] #200269
10/30/07 05:04 PM
10/30/07 05:04 PM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
ScriptAlias /cgi-bin/ /whatever/the/hell/you/want/

in httpd.conf smile

i prefer outside, but that's just me laugh

you also may need to add the handler(s).. apache might already have it built into the conf.. if not..

AddHandler cgi-script cgi pl

smile

Re: CGI bins [Re: SD] #200271
10/30/07 05:21 PM
10/30/07 05:21 PM
driv  Offline

Joined: Jan 2004
Posts: 2,656
ok - I get part of it - thanks smile

...but what about the www and cgi-bin both in the public_html folder?

Does that mean that the cgi-bin is inherently above root?


Using version :: 7.6.2
Re: CGI bins [Re: driv] #200274
10/30/07 05:48 PM
10/30/07 05:48 PM
driv  Offline

Joined: Jan 2004
Posts: 2,656
Sorry, replying to my own post blush

If www and cgi-bin are both in public_html, doesn't that mean they are both at root?

Perhaps I'm not understanding things properly here confused


Using version :: 7.6.2
Re: CGI bins [Re: driv] #200278
10/30/07 06:55 PM
10/30/07 06:55 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
well, the public_html folder normally IS the www directory lol; but you have to define where they both are...

My example of a virtualhost:
Code
<VirtualHost 38.99.95.240:80>
        SuexecUserGroup "#525" "#510"
        ServerName corthell.net

        ServerAlias www.corthell.net
        ServerAlias corthell.info
        ServerAlias www.corthell.info
        ServerAlias corthell.us
        ServerAlias www.corthell.us
        ServerAlias corthell.ws
        ServerAlias www.corthell.ws

        DocumentRoot /home/corthell/public_html
        ErrorLog /home/corthell/logs/error_log
        CustomLog /home/corthell/logs/access_log combined         

        ScriptAlias /cgi-bin/ /home/corthell/cgi-bin/    
        DirectoryIndex index.html index.htm index.php index.php4 index.php5
        <Directory /home/corthell/public_html>
                Options Indexes IncludesNOEXEC FollowSymLinks
                allow from all
                AllowOverride All              
        </Directory>
        <Directory /home/corthell/cgi-bin>
                allow from all
        </Directory>
</VirtualHost>


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: CGI bins [Re: Gizmo] #200280
10/30/07 06:59 PM
10/30/07 06:59 PM
driv  Offline

Joined: Jan 2004
Posts: 2,656
Thanks Giz,
It's clear that I don't understand the 'concept' here.

I'll take a look at your post again tomorrow - late here now.
cheers,
d.


Using version :: 7.6.2
Re: CGI bins [Re: driv] #200287
10/30/07 08:05 PM
10/30/07 08:05 PM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 4,313
SoCal, USA
Googled 'Apache cgi-bin' and lo and behold... that should help you smile

Re: CGI bins [Re: SD] #200292
10/30/07 08:38 PM
10/30/07 08:38 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 17,009
Portland, OR; USA
quite easily, the scriptalias line defines the directory you want to use for your cgi-bin.

The directory specification defines what properties you want to allow as default for the directory.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: CGI bins [Re: SD] #200295
10/31/07 04:02 AM
10/31/07 04:02 AM
driv  Offline

Joined: Jan 2004
Posts: 2,656
Originally Posted by Sirdude
Googled 'Apache cgi-bin' and lo and behold... that should help you smile


Yes, I guess I should have Googled blush but I just got swept away with the thread tongue

Thanks guys - will do some reading now. smile


Using version :: 7.6.2

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Private Message, Opt out of conversation
by jorb. 12/04/18 10:11 PM
Disable IP display in Who's Online?
by Baldeagle. 11/29/18 09:05 PM
Permissions problem
by Baldeagle. 11/25/18 09:44 PM
Reddy Kilowatt
by SteveS. 11/20/18 08:30 AM
testar
by Morgan. 11/18/18 02:33 PM
Forum Statistics
Forums36
Topics35,172
Posts191,642
Members12,117
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2