Jump to content

idanan

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by idanan

  1. Thanks again for a prompt reply. Now I logged in. I just forgot the first times... Finding a bad hosting company is easy, so I understand why people return. TCH definetely does hosting well. I'll recommend it easily. Now I have some new sites, I'm not planning on risking my existing site with another hosting company. It is here, it works and there is some bandwidthleft at the end of the month. The question was about some new sites. Until they pay for themselves, I have to keep costs down but still provide a good surfing experience for visitors.That's what I'm shopping for now. - Itai www.neocamera.com
  2. Hi everone, I believe this is the first time I use a CGI script from the "CGI Library". What I use is the random HTML script to choose between several lines of HTML. Setting it up was very simple and actually worked perfectly. All I had to do is add <!--#exec cmd="cgi-bin/randhtml.cgi"--> and rename my page extension to shtml. It works so well that I want to use it again! Except I want my new instance to select between a different set of random HTML lines. Since the lines are not specified in the scripting call, I have no idea how to proceed. So here are my questions: 1. Does anyone know how to specify where the script looks for its random HTML lines? (So that I can specify different places for different instances) 2. Does anyone know how to do the same thing with PHP? (In case question 1 has no answer) 3. Does anyone know the implications of changing my filename to .shtml? (Does that have other effects than letting me run this CGI?) Thanks in advance, - Itai www.neocamera.com
  3. Perfect, that is exactly what I wanted. Thanks again, - Itai
  4. Thanks for the replies. Oh, I see. This information implies that there is no way to non-anonymously FTP stuff that is not accessible via an HTTP URL. To secure a file under public_html, I guess the work-around will be to create a password protected directory. Will that cause problem with the FTP server? For example, if I create /public_html/ftp and password protect it, then can I create an FTP account that starts in that directory? If so, will it still be accessible only using a user-name and password? - Itai
  5. Hi, Is is possible to have FTP accounts not go under public_html/whatever? Instead I would like FTP accounts to go to public_ftp/something, but it seems the public_html part is hard-coded into cpanel. Mainly I would like to keep the directoy hierarchy separate to simplicity. I noticed there is already a public_ftp directory, when is it used? Thanks in advance, - Itai www.neocamera.com
  6. Thanks a lot! That was exactly what I needed! - Itai
  7. Hi again, I think I was not clear enough. Let me try again: - Hotlink protection was enabled in cpanel. - All directories are now automatically protected (because of the parent dir) - I wish to create a new directory that will NOT be protected. According to your reply, I must put an .htaccess to _remove_ hotlink protection in the new directory. The question then is: What is the opposite of the following rewrite rule taken from the parrent dir? RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://www.neocamera.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.neocamera.com$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] Thank you in advance, - Itai
  8. Hi, I enabled hotlink protection and listed my own sites and subdomains as exceptions. That worked: the cpanel modified my .htaccess in public_html to include all the names of my site and its subdomains. Now I want to allow images in a specific directory (to be created) to be hotlinked too (I can't tell which domain will load them). How do I edit my .htaccess to do that? Another thing I noticed is that this setting seems to be inherited in subdirectories. Specifically, my .htaccess in public_html affects (prevents hotlinking) to images in itself and subdirectories (such as public_html/images) but the .htaccess in the images does not include the inherit directive or a copy of the rewrite rules from the .htaccess in public_html. How does that work? Thanks in advance, - Itai
  9. Yes it works! Thanks a lot. - Itai
  10. Please add Neocamera to the TotalChoice family, here is the information: 1. www.neocamera.comNeocamera 2. Neocamera 3. The ultimate guide for chosing a digital camera! 4. Commercial 5. There is a text link to TotalChoice on the About page. Thanks in advance, - Itai
  11. Hi again! >http://serverXX.totalchoicehosting.com/phpInfo.php Just to say that I checked out this link and it was extremely usefull. I got most information I was missing from it. Can't wait to start using that stuff!!! Thanks a lot, - Itai
  12. Thank you all again for the replies and for directing me to the right resources. - Itai
  13. Hi again, Thank you for the quick reply and thank you all for the warm welcome! Now I have a better unsersatnding of how you understood my questions. From your response, I realize that cgi scripts don't have to be in cgi-bin. What I meant by 'Can I put binaries in the cgi-bin directory?' is 'Do you support CGIs that are binary (not-scripts per-say)?' For me to produce such scripts I need to know the OS and H/W platform of the server. I see that cPanel gives me this information, would that be supported? And would the CGI be called with a path giving access to the standard libraries? As an extension of the previous question, I may want to put a CGI-script but have it call an external C/C++ library which I would also put in on the server. Would that be supported? I absolutely understand about the list. It would be tedious to maintain. Yes. but what then? If my script says it needs X, you are saying there is no way to check wihout trying it. Now this assumes the script exists in the first place. If I want to create a script, I would like to avoid writing one that will require something that is not supported. I guess I will have to check the dependencies with a test script first. Great. Too bad its not 2.3.5 though! OK, thanks! By cgi-script, I meant a CGI (script or not) that is called by the webserver with some environment set so that it executes and typicaly returns a HTML page, regardless of the implementation language. So in my question, Python script would be a 'cgi-script'. I am not aware of another way to dispatch a Python script from the web-server. Is there one? For clarity, from now one I will use the term CGI instead. Yes, PHP scripts are not CGI. I already use some PHP and got WordPress to work already thanks to answers on these forums. - Itai
  14. Hi, This is my first post here, so it may be misplaced! I searched the boards and there's a lot of talk about how to install such and such script, why it doesn't work, etc. What I am looking for is information on what can I use to make scripts at TCH with my Silver hosting. Here are some questions that come to mind: - What can I put in the cgi-bin sub-directory? - Can I put binaries, if so, what type? - What can stuff in cgi-bin use? Is there a list? (in another post someone had a scripting that required jpegtran and someone had to reply to tell him where it was... doesn't seem like the right way?) - What can cgi-bin binaries use? - Can I use Java? If yes, what version? Does that include JSP? - Can I use Python? If yes, what version? - What permissions and users do cgi-bin scripts use? Don't worry if all questions are not answered, I will ask the forgotten ones again later! Thanks in advance, - Itai
×
×
  • Create New...