Previous Thread
Next Thread
Print Thread
Hop To
#200016 10/27/2007 10:36 AM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
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?

Rose #200018 10/27/2007 11:30 AM
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
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\

Ian #200019 10/27/2007 11:35 AM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
But how do you access the cgi-bin from a web-browser (url) or a link, if it is above the root.

Rose #200020 10/27/2007 11:38 AM
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
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.


Ian #200022 10/27/2007 11:43 AM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
Thanks Ian, we'll try that. smile

Rose #200039 10/27/2007 8:25 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Gizmo #200048 10/27/2007 11:08 PM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
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

Rose #200050 10/28/2007 12:50 AM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Gizmo #200053 10/28/2007 1:28 AM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
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

SD #200054 10/28/2007 2:04 AM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Gizmo #200056 10/28/2007 2:12 AM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
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

SD #200062 10/28/2007 5:43 AM
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
You can always host with me Rose - I will do you a good price wink

Ian #200082 10/28/2007 5:07 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Gizmo #200085 10/28/2007 5:25 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
you talking to me ? if so, i know what VPS is since i had it and still decided to upgrade to dedicated.

SD #200087 10/28/2007 5:41 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
SD #200088 10/28/2007 5:45 PM
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
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 from siemons.org]
Yarp #200091 10/28/2007 6:09 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Gizmo #200093 10/28/2007 6:21 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
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.

SD #200100 10/28/2007 7:18 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Gizmo #200101 10/28/2007 7:24 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
lol whatever giz

[Linked Image from blehnet.com]

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

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

SD #200102 10/28/2007 7:35 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Gizmo #200114 10/29/2007 6:08 AM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
[Linked Image from wikiwirral.co.uk]

You guys are my entertainment on here lol


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Mark S #200126 10/29/2007 11:24 AM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
[Linked Image from blehnet.com]
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..

Mark S #200127 10/29/2007 12:08 PM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
Originally Posted by Mark S
[Linked Image from wikiwirral.co.uk]

You guys are my entertainment on here lol

I was scared! (not really)

Rose #200128 10/29/2007 12:26 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
lol, official thread hijaack since i've learned from the master himself..

Linky Poo

SD #200159 10/29/2007 6:02 PM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Catching isn't it lol wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
SD #200162 10/29/2007 6:07 PM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
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

driv #200183 10/29/2007 7:56 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Ian #200268 10/30/2007 5:46 PM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
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


driv #200269 10/30/2007 6:04 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
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

SD #200271 10/30/2007 6:21 PM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
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?

driv #200274 10/30/2007 6:48 PM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
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

driv #200278 10/30/2007 7:55 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Gizmo #200280 10/30/2007 7:59 PM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
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.

driv #200287 10/30/2007 9:05 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Googled 'Apache cgi-bin' and lo and behold... that should help you smile

SD #200292 10/30/2007 9:38 PM
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
SD #200295 10/31/2007 5:02 AM
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
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


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Ruben), 476 guests, and 111 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)