Pretty URL's on Mac OSX Server 10.4.11
Permalink 1 user found helpful
Enable Pretty URL's on a Mac OSX Server 10.4.11 can be done in four steps.
Step1: Enable Pretty URL's from inside Concrete5.
Dashboard -->Sitewide Settings -->General
Click on the "Enable Pretty URL's: checkbox from the "Linking" section and then click "Save" button.
Step 2: Duplicate your Virtual Hosts file
In the Finder navigate to
Find the virtual host file (aka the domain) your Concrete5 installation is using and select it. You will not be able to copy it unless your root.
Therefore open Terminal and type with a space after it and drag-n-drop the folder to the Terminal window.
Do an to make sure your in the right place.
Then type Make sure there's a space between the names of the files.
Use the Finder to verify you have copied the file before you proceed.
Step3: Add statements to your virtual hosts file
Open Terminal and type:
Look for your virtual host, and type:
Add this statement near the top of the file:
Then change the to
Exit and Save the file: esc-key
Exit Terminal
Step 4: Restart Apache
Either from Server Admin or terminal restart Apache
Verify that Apache is running in Server Admin
Refresh browser and test
If something goes wrong revert back to your backup file and restart Apache. Also make sure you have a .htaccess file in the top level of your concrete5 installation's folder. Make sure you don't have a page named after one of the backend pages like. Lastly verify your permissions.
Environment: Xserve(intel) MacOSX Server 10.4.11 | Concrete5 5.4.1.1 | PHP 5.2.4 | mySQL 4.1.22
Step1: Enable Pretty URL's from inside Concrete5.
Dashboard -->Sitewide Settings -->General
Click on the "Enable Pretty URL's: checkbox from the "Linking" section and then click "Save" button.
Step 2: Duplicate your Virtual Hosts file
In the Finder navigate to
/etc/httpd/sites
Find the virtual host file (aka the domain) your Concrete5 installation is using and select it. You will not be able to copy it unless your root.
Therefore open Terminal and type
cd
sites
Do an
ls -l
Then type
sudo cp (the-name-of-the-file-you-need-to-edit) (the-name-of-the-file-you-need-to-edit).original
Use the Finder to verify you have copied the file before you proceed.
Step3: Add statements to your virtual hosts file
Open Terminal and type:
cd /etc/httpd/sites/
ls -l
Look for your virtual host, and type:
sudo vi (the-name-of-the-file-you-need-to-edit)
Add this statement near the top of the file:
AccessFileName .htaccess
Then change the
AllowOverride None
AllowOverride All
Exit and Save the file: esc-key
:wq
Exit Terminal
Step 4: Restart Apache
Either from Server Admin or terminal restart Apache
sudo apachectl restart
Verify that Apache is running in Server Admin
Refresh browser and test
If something goes wrong revert back to your backup file and restart Apache. Also make sure you have a .htaccess file in the top level of your concrete5 installation's folder. Make sure you don't have a page named after one of the backend pages like
Tools
Environment: Xserve(intel) MacOSX Server 10.4.11 | Concrete5 5.4.1.1 | PHP 5.2.4 | mySQL 4.1.22