Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 24, 2012, 01:53:39 PM

Pages: [1]   Go Down
  Print  
Author Topic: scripts, default docs, wml content, index.cgi, other Q's  (Read 416 times)
daveanderson
Space Explorer
***
Offline Offline

Posts: 8


« on: April 11, 2003, 03:58:37 AM »

I have a heavily scripted web site (not just static pages) that services html as well as wml (wap) and chtml user agents.  I am considering a hosting change.  Here are my questions:

What is the default doc hierarchy?  Can I change/add to it?  Does it include index.wml and index.cgi?

Will a user retrieve of pagename.wml generate the right kind of WAP response?  (e.g. Content-Type: text/vnd.wap.wml)

Can I have an index.cgi in any directory as the default doc (or for that matter any perl script), including at the root, or am I stuck with cgi-bin only?  Can I use 755 instead of 777?  If so can the script read/write to the home directory?

What happens, in terms of directory creation, when I add a subdomain, e.g. wap.mydomain.com?  Is it in a completely new public, or is it essentially an alias for http://mydomain.com/wap?  Either way, but I prefer the latter so as not to have to change script.

Will I get dns for both http://www.mydomain.com and http://mydomain.com?

What is the shbang path to perl?

Is Time::HiRes installed?

Thx
Logged
stephan
Guest
« Reply #1 on: April 11, 2003, 04:42:15 AM »

Hi,

I do not have a list of the default documents handy, but you can change it with a .htaccess file in your public_html directory.

I know that it includes index.cgi, I am 99% certain it includes wml, but you could add it if I am wrong.

You can add content-types yourself through the lunarpages control panel. Wap is supported.

I am not sure if you can use Perl in any directory.

When you add a subdomain, it gets added as an alias for mydomain.com/wap

You'll get dns for www.mydomain.com and mydomain.com

The path to perl is /usr/sbin/sendmail

Time::HiRes is installed

Hope that helps!
Logged
daveanderson
Space Explorer
***
Offline Offline

Posts: 8


« Reply #2 on: April 11, 2003, 04:54:57 AM »

Thanks Stephan.  The issue of using index.cgi perl in any dir is very important, as I have to be able to handle the various user agents.  Please let me know asap if this can be done.

Everything else looks great!  I hope I can make the change to lunarpages soon.

One more thing:  can I sign up without transferring my domain, test everything out as mydomain.lunarpages.com or lunarpages.com/~mydomain, or some such, and then if all is well, make the netsol dns change?
Logged
stephan
Guest
« Reply #3 on: April 11, 2003, 05:16:09 AM »

Hello again,

I had to ask someone about the index.cgi question.

It is ok. It should work, you just need to set the correct permissions.  The folder should be set to 755 and the script to 755.

I tested it, and it worked with 755 and nothing else.

Is there anything else you were wondering if we supported?
Logged
daveanderson
Space Explorer
***
Offline Offline

Posts: 8


« Reply #4 on: April 11, 2003, 05:22:13 AM »

That's it.  Done deal.  I just signed up for 1yr.  Will test and move domain asap.

THANKS!

P.S. It's SOOOOOoooo nice to use a hosting company with actual live human beings instead of just autoresponders and faq pages!  Smile
Logged
stephan
Guest
« Reply #5 on: April 11, 2003, 06:33:09 AM »

Cool.

We do have faq pages aswell if you need them.

They are here, https://secure.lunarpages.com/support/faq.php

and here, http://www.lunarpages.com/faq.html

The control panel manual is here, http://www.lunarpages.com/manual/index-cpanel-manual.html


To answer your last question, you will get a temporary url that you can use before your domain gets transferred over.
Logged
Ed
Berserker Poster
*****
Offline Offline

Posts: 5208



WWW
« Reply #6 on: April 11, 2003, 10:49:34 AM »

Just to add to that: You can use any kind of script in any directory providing you set it up correctly. Default documents can be adjusted to whatever you want!

I am currently running a few index.cgi's on my site as well as in directory perl programs with out any problems at all!

- Ed Smile
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: