Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have a problem with settings.php file. I want all user with an account can access to mysql db with their some one username and password and not with a common account with all privileges on drupal DB as specified by default in settings.php.
I made a different database and I set only "SELECT" privileges on this. Now, my problem is this:
In settings.php I set:
global $user;
$db_url['default'] = 'mysql://xxx:xxx@localhost/drupal';
$db_url['mydb'] = "mysql://$user->name:$user->pass@localhost/mydb";
This is actually not a problem, because the site is allready up and running, but...
(situation Linux hosting, php, don't know which webserver)
When I bought the webspace, the .htaccess file had to be installed by helpdesk people, so I decided to not ask them at that time.
Now, the site is running, but do anybody know if the file is necessary for security/other issues? So if this is the case, will the something change if I ask them to install the default .htaccess file?
Megawebserver.com provides web hosting and website promotion for your small business or personal website http://www.megawebserver.com
We provide windows and linux hosting plan
3GB Package
Disk Space- 3GB
Monthly Data- Transfer 10GB
Sub-Domains- 7
set up fee- free
2.7 GHz Pentium 4 Processor, 1 GB RAM Windows 2000, IIS 5.0, 4-OC3 Network Connectivity
20 MB of Email Space
$170 per year
We are in the process of developing a server farm for hosting Drupal based sites.
To ensure we design the servers correctly we are embarking on a marketng research exercise. If you are a Drupal site's webmaster or have designed a Drupal based site, this is your opportunity to post your "perfect host" wish list and comments!
Please keep your submissions concise and to the point. Lenghty comments will waste everyone's time.
We are in the process of developing a server farm for hosting Drupal based sites.
To ensure we design the servers correctly we are embarking on a marketng research exercise. If you are a Drupal site's webmaster or have designed a Drupal based site, this is your opportunity to post your "perfect host" wish list and comments!
Please keep your submissions concise and to the point. Lenghty comments will waste everyone's time.