Put previsualization url with safe mode on

PauGasol

Verified User
Joined
Feb 3, 2004
Messages
125
Hi,

I have the domains with safe mode on, but somtimes some people only uses the previsualization url (http://serverip/~user) and this url have the safe mode turned off . Where can i change that? Any problems to put safe mode in on in this url?

Thanks
 
It could. One of the webmail applications that come with DirectAdmin required safe_mode be disabled.

Give it a try and if it doesn't work out you can always undo the changes, no harm done.
 
The changes will be in the main httpd.conf , in the :

#The default site for the server.
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerAdmin [email protected]
AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ /var/www/cgi-bin/

CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>


Later will be necessary a new piece of code to desactivate safe mode in Ubimail

I will try thanks
 
You could create a new virtualhost for a subdomain etc. you could then disable safemode and move all server web applications that needed safemode disabled to that new virtualhost.

(e.g. webmail.dummydomain.com)
 
Back
Top