New and struggling

Daskew

Verified User
Joined
May 25, 2006
Messages
80
Location
Clitheroe, UK
Hi,
Ive just purchased this software and am struggling a bit to find my feet and have a few questions. If anyone could spare some time to help me out I would appreciate it.

Firstly, how do I enable directory browsing as default for all sites that are created without having to created a .htaccess file?

Also how do I enable scripts to be run from anywhere and stop the cgi-bin being created by default?

Whats the difference between php and php-safe mode? And which should I use really?

Lastly how do I change the default index file that is put on all new websites to a custom one?

Thanks very much in advance. Im sure i'll love this software it's just finding my feet with it.
 
Daskew said:
Ive just purchased this software and am struggling a bit to find my feet and have a few questions. If anyone could spare some time to help me out I would appreciate it.
I'll help a bit, but I don't have all the answers here now.
Firstly, how do I enable directory browsing as default for all sites that are created without having to created a .htaccess file?
Find the template in /usr/local/directadmin/templates and copy it to the /usr/local/directadmin/templates/custom directory. Then modify it there.
Also how do I enable scripts to be run from anywhere and stop the cgi-bin being created by default?
Not sure of that one, since we don't do it. It'll require changes to the same template as above.
Whats the difference between php and php-safe mode? And which should I use really?
You should use safe_mode; if you don't, then an exploit against any one of your hosted php files can be used against every site on your server.
Lastly how do I change the default index file that is put on all new websites to a custom one?
Again, I've not looked for it, but it's probably a template somewhere. Anyone else with more specific information?

Jeff
 
Lastly how do I change the default index file that is put on all new websites to a custom one?

Have a look at
Code:
/home/admin/domains/default
This is where we modified the default index.html file that is uploaded to all new domain sites as they are added to the servers.
 
Back
Top