[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Cobalt Cube2 Help needed



Hi,

> 1. I need to reboot my Cube 2 every few days or so because I cannot access
> the cube via smb from my internal network.... and my mail slows down on
> responding to my e-mail program Outlook Express

Do you have your client IP addresses in your host file or lm host file ?

If not add them, I found that it would take a long time to connect to the
Qube
from client machines, It was trying to resolve to the Internet but adding my
client IPs to my hosts file cured that problem.

> 2. I want to get server side includes to work

The next bit is from the Cobalt Website and it works ! apart from the kill
bit, so just reboot here.
remember to name your SSI files with the extension of shtml

-----------------
To enbale SSI on your Qube, Telnet and login as root

edit the /etc/httpd/conf/srm.conf file and un-comment(by removing the #) the
following line:

#AddHandler server-parsed .shtml

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

Options Indexes SymLinksIfOwnerMatch ExecCGI Includes

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

directoryIndex index.html index.shtml home.shtml

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.

Comments
Non-HTML
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 line:

#AddHandler server-parsed .shtml
2. Edit the /etc/httpd/conf/access.conf

Under the directory heading for your directory , add Options Includes. This
example will enable SSI for your home directory:

Options Indexes ExecCGI Includes

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`
-----------------------

> 3. I want to have a default e-mail box so any unassign
>    email goes to that and not bounce.

If you just have your domain name i.e. mydomain.com in the   Receive email
addressed to these hosts/domains  on the email prefs
you will find any email that is not addressed to a user will be sent to
admin and a Error email will be sent to the sender.

> I am using my ISP's DNS server and a Linksys router on an internal network
> using NAT, real easy, I only have 3 holes drilled for the Cube in my
Linksys
> router 2 for mail and 1 for http...

I use the Linksys BEFSR41 with my Qube2 it works a treat (once the new
firmware was uploaded to it ;-)

Hope this helps.
Ken Jewell.