Web Hosting Talk







View Full Version : Just got my Rack!


gertiebeth
03-05-2001, 04:58 PM
Just signed up w/ rackshack.net. I asked if they supported SSI's with the extension .HTML and they said yes. I just went to the Colbalt page to look up how to do this and this is what it said:

------------------------

These instructions refer to the RaQ ONLY!
Do not attempt to use these instructions with other products

QuestionNum: 444
Product: RaQ
Category Software
Creation Date: Wed Feb 10 00:00:00 1999 PST

Question
How do I enable server side includes (SSI) on the RaQ?


Response
NOTE: UNSUPPORTED. The following information is outside the scope of Cobalt Networks Technical Support, and could potentially void your warranty. Cobalt Networks does provide Professional Services to aid you with the implementation of unsupported solutions. Please go to http://www.cobalt.com/support.services/index.html for more information about our Professional Services.

To enable SSI on your RaQ and have .shtml extension available for your base page you need to telnet to your RaQ and login as root using the admin password.


1. Edit the /etc/httpd/conf/srm.conf file and un-comment(by removing the #) the following lines:





#AddType text/html .shtml
#AddHandler server-parsed .shtml





2. Edit the /etc/httpd/conf/access.conf and under the directory heading for your directory, add Options Includes. This example will enable SSI for your home directory:







Options Indexes SymLinksIfOwnerMatch Includes

AllowOverride All







3. To enable .shtml mapping for the default page, edit /etc/httpd/conf/srm.conf, add index.shtml and home.shtml at the end of this line:




DirectoryIndex index.html index.htm home.html home.htm index.shtml home.shtml

4. Now you will need to restart your Web server for the changes to take effect you can do this by typing:

kill -1 `cat /var/run/httpd.pid`



**NOTE: the ` encasing the cat command is the tick on the ~(tilde) key, not a quotation mark.

---------------------

OK, I don't know how to "telnet" and it doesn't say how to change the extensions to .HTML. Can any kind soul out there help me out? <sheepish grin> (I'll reward you with the URL to one of my sites that is going dedicated: http://efanguide.com/~charlize ) ;)

Chicken
03-05-2001, 09:04 PM
I'll offer this somewhat easier to understand way which *might* work, depending on how the machine is set up.

If you want this for one site, try creating a text file and putting only these two lines in that text file:

AddType text/html .shtml .shtm
AddHandler server-parsed .shtml .shtm .htm .html

Upload this file in ascii mode (not binary) into the site's web directory, and rename the file from whatever it was to .htaccess

Depending on how the machine is set up, this may or may not work.

Telnet client that I use:
http://www.arachnoid.com/easyterm/index.html

It is hard fo me to explain exactly how to use this though. Maybe someone else will have a better idea of how to get you started. I can post a link to some basic commands but I'm not sure that will be enough to explain the whole thing or not.

Chicken
03-05-2001, 09:09 PM
Originally posted by gertiebeth
I asked if they supported SSI's with the extension .HTML and they said yes. I just went to the Colbalt page to look up how to do this and this is what it said:

------------------------

Question
How do I enable server side includes (SSI) on the RaQ?

Also, as a side note, the answer you found does NOT address your question (need). A combination of what you found and what I wrote above would get you the result you want server-wide.