homepage Welcome to WebmasterWorld Guest from 23.20.44.136
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
htaccess Setting MySQL Conf Settings
bsmither




msg:4550282
 11:50 pm on Mar 1, 2013 (gmt 0)

As Apache can set PHP settings values in the .htaccess file, can Apache also set MySQL settings values?

Something like:
mysql_value mysqld.datadir /mysql/devdata/

This is a non-specific question as I know there are other ways to accomplish the task at hand.

The task is to get the same website/docroot to use a different database (but named the same) based on the subdomain of the URL.

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved