
|
View Full Version : Changing welcome screens on RAQ3
Domenico 12-12-2000, 05:47 AM I would like to change the first page you get when you have added a new virtual domain (default company site, not cobalt©).
i could find out but i'm sure most of you know where to change that ;-) Somewhere in /usr/admserv/html/.cobalt/ I guess.
Thanks!
Domenico
Félix C.Courtemanche 12-12-2000, 07:31 AM this is in:
/etc/skel/group/en_US/web for the virtual domain page
and
/etc/skel/user/en_US/web for the user page.
Now, any files that you put in there will be copied, so you can have pictures or directories, etc.
Domenico 12-12-2000, 07:39 AM Thank you very much for this info! You made me very hapy with this :)
Thanks for the tip. But it won´t let me upload to that directory (permission denied) although I was ftp´ing in as server admin? cmoding the folder "web" where the index.html is in to "write everybody" doesn´t help.
Through telnet? Am I not root already when I ftp as server admin? I contacted 4webspace about that, asking why it won´t let me, the server admin, upload to this (or any other directory, such as any virtual site´s web directory).
In the manual I saw that in hybrid mode both, the server admin, the site admin, and a user can upload, while the server admin can upload everywhere (so I believe) and the site admin everywhere within the site and the user only in his folder.
4webspace told me they don´t support "hybrid" mode and that I should try the cobalt support :(
Which I am doing now. I could need a solution right now though. Oh well... :(
I actually thought it would be standard that the server admin could upload to everywhere.
Domenico and Felix, don´t you have your RAQ´s at 4webspace? So you CAN upload?
Domenico 01-24-2001, 05:25 PM You can only upload and do other things when telnetted in as Administrator and becoming root with su
This is obviously for security reasons offcourse. Think about it.
Oh, make a backup first from the files you are going to tamper with ;-)
Thanks Domenico. Well my problem is I have intended this as a server for several hundred domains. All domains are setted up, and almsot all don´t have much content and aren´t real sites in their own right, more for search engines and the like. Now with a user and ftp account it would be a pain in the ass not only to set it all up but also every time I want to upload stuff here and there. I will do the pages with php include from central location but it still would be tremendous work to set it up since the cobalt management console isn´t very fast after all.
This is what I found in the cobalt knowledge base:
Yes, you can enable root ftp to your RaQ, however it is not a good idea and has MAJOR security implications.
1. Make sure you have RaQ patch 2.0 installed
2. Telnet to you RaQ, login as root using the admin password.
3. Add the following line to /etc/proftpd.conf after the initial configuration infomation:
RootLogin on
4. type: kill -1 `cat /var/run/inetd.pid` (this will restart the ftp server)
---
Now actually they say don´t do it etc.. but I have only 4-5 friends with virtual sites on that box and everything else is mine.
Just so I can do it with upload through telnet and without a general setting change, could you let me know the command for uploading stuff from my computer to the server through telnet? I did some stuff with telnet but not uploading, only editing existing files there etc..
I know I should know how to do that, but after all I´m not running a host, and if you could let me know the 1 or 2 commands that I need that would be nice of you. Only what I do when I´m there. I know how to login, go there etc. but not how to upload. That would still be much faster than creating 350 users and 350 ftp accounts in WS FTP.
brainbox 01-24-2001, 06:35 PM Well what we ended up doing to change it and it was the simplest way for us, was to telnet into the server, cd to the directory where the template file is located, and do a chown admin filename.ext
Then ftp the files into the directory, then chown root filename.ext back to the original owner.
I find this to be the easiest way to do any files that you want to ftp into the server that are owned by root, instead of ftp'ng them to your own owned directory, then moving them, since it saves I think a step or two.
Bbox
Domenico 01-24-2001, 06:41 PM Hi all,
Well you said it.
Mostly i copy them all to a directory through ftp and then move them with telnet.
That works ok with me. it's just what you think is more convenient I guess.
I hope this answers your question tim2.
About turning on root ftp. i wouldn't do that if I were you so think about it.
Ftping is not the safest transfer protocol you know ;-)
Thanks Domenico and Brainbox :)
anyone got any sample pages they changed it to? i want to change mine but have no idea what to put on it. show a url if you can :)
Domenico 01-25-2001, 04:57 AM company logo and colors or something...
brainbox 01-25-2001, 12:27 PM same here, just removed the cobalt info, and replaced the image with our logo, and cleaned it up a bit, and put the title of the page, to welcome to xxx future website. same thing at the top of the page, but overall, it looks the same structure, just different logo and no background.
Félix C.Courtemanche 01-26-2001, 03:52 AM http://demo.can-host.com/
allan 01-29-2001, 04:46 PM Originally posted by teck
anyone got any sample pages they changed it to? i want to change mine but have no idea what to put on it. show a url if you can :)
http://63.80.246.192/
allan
i changed the index.html in /etc/skel/group/en_US/web and the old default still shows, any ideas? :(
allan 02-04-2001, 11:42 PM Its only going to show for new accounts. Older accounts, are still going to have the old page.
allan
|