I was reading the wiki about Pretty URLs and I have gotten as far as uploading my .htaccess file, but where is the darn config.php file? I have performed searches and can't find it. Do I have to create one? if so, in what directory?
Also I am using godaddy so I am not sure what other issues I will be dealing with after this, please advice. Thanks.
Pretty URLs
Re: Pretty URLs
hexdj,
the config.php is in the root of your CMS-directory.
Ronny
the config.php is in the root of your CMS-directory.
Ronny
Re: Pretty URLs
That's what I would assume, but it's not there, should I create it?
I just downloaded CMSMS 1.0.4, the zip file doesn't have it, is it due to being a new version?
I just downloaded CMSMS 1.0.4, the zip file doesn't have it, is it due to being a new version?
Re: Pretty URLs
config.php is not included in the distribution archive. create an emtpy file* called config.php, put it in your site root and make sure the web server has write permission on that file (as well as the directories outlined in the install docs). once the file is there and writable by the server you can get through the install process.
note there is a sample htaccess file you can use in the ./doc/ directory.
* to create the empty file on windows, open up notepad and immediately do a file->save as, without typing anything in the document window. type "config.php" (including the quotes, to ensure the .php file extension is used on some versions of windows) in the file name field.
note there is a sample htaccess file you can use in the ./doc/ directory.
* to create the empty file on windows, open up notepad and immediately do a file->save as, without typing anything in the document window. type "config.php" (including the quotes, to ensure the .php file extension is used on some versions of windows) in the file name field.
Last edited by kermit on Thu Mar 29, 2007 9:05 am, edited 1 time in total.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: Pretty URLs
Great, this helps, thanks.
One more question, I have CMSMS installed in a subdirectory in my site, should I put the .htaccess in that subdir or in my site's root?
One more question, I have CMSMS installed in a subdirectory in my site, should I put the .htaccess in that subdir or in my site's root?
Re: Pretty URLs
hexdj,
it's not there in the installation, but the installation script will create it with all relevant information gathered during installation, f.e. paths db-name etc...
Ronny
it's not there in the installation, but the installation script will create it with all relevant information gathered during installation, f.e. paths db-name etc...
Ronny
Re: Pretty URLs
After you've installed your CMSMS, the file should be there 'config.php' that is, as it holds all relevant data concerning the connection to the DB and the paths etc..
Ronny
Ronny
Re: Pretty URLs
Thanks Ronny, followed your advice and now Pretty URLS work great
Last edited by hexdj on Thu Mar 29, 2007 11:00 am, edited 1 time in total.


