Friendly URL's 0.6.x (Apache)
#16 Guest_Alex_*
Posted 23 August 2004 - 04:20 PM
RewriteBase /path/to/your/root
And if that doesn't work, check the apache logs to see if there's any error messages. Maybe they'll help you set the Rewritebase path properly.
#17
Posted 23 August 2004 - 06:33 PM
Added this:
RewriteBase /
If you have your site as a subdirectory of the root domain name (e.g. yourdomain.com/etomite), you can try this:
RewriteBase /etomite/(where etomite is the folder containing your etomite install)
#18
Posted 23 August 2004 - 06:49 PM
summean, on Aug 22 2004, 07:45 PM, said:
It would be fairly safe to assume that your server is not configured for friendly URL's... If you are, in fact, seeing a friendly URL in your browsers addressbar and are getting this error, that is a safe assumption...
#19
Posted 23 August 2004 - 08:04 PM
rad14701, on Aug 23 2004, 01:49 PM, said:
I actually did get them to word finally. Since I'm using a hosted/shared server, I guess the Apache configuration was a little different. Adding a "RewriteBase" section to my .htaccess fixed the problem.
#20
Posted 18 September 2004 - 01:17 PM
Before we get there though, I want to set up my site.... At the moment I have the following site navigation - Friendly URL aliases in the brackets
Home (home)
Products (products)
Services (services)
-Computer Repairs (computerrepairs)
-Website Design (webdesign)
Contact Us (contact)
Thats not the complete site but Im sure you get the drift. I want to be able to type into my browser on a root install, www.domainname.com/services/webdesign and have it take me to the webdesign page. At the moment it refuses to work, and I can only access these pages from www.domainname.com/webdesign. Is there somewhere to configure the directory structure so I can have the friendly URLs display the folders I have created?
Please advise! I can live without it, but Im sure on a complex CMS as this, a feature like this is hiding somewhere
Best Regards
Luke
#21
Posted 18 September 2004 - 03:19 PM
pacesetter, on Sep 18 2004, 09:17 AM, said:
#22
Posted 19 September 2004 - 04:05 AM
rad14701, on Sep 19 2004, 01:19 AM, said:
Thanks for your reply
Well atleast that is my question answered properly. THanks for your help on that one, really all I wanted was to have it look good in the browser bar, ie. www.domain.com/services/webdesign looks alot better then www.domain.com/webdesign.
If it can't be done then I will start to link up my website, the menus and naviagation area as the way Friendly URLs work. I think Friendly URLs are great, but it wouldve been cool to have them look like a directory structure in the browser bar.
Once again, thanks for your reply. I understood it all and it makes alot of sense!
Regards
Luke
#23 Guest_Alex_*
Posted 19 September 2004 - 01:02 PM
#24
Posted 05 October 2004 - 11:57 AM
RewriteBase _is_ set correctly
Thanks in advance.
#25 Guest_Alex_*
Posted 15 October 2004 - 07:04 PM
#26
Posted 18 October 2004 - 05:45 PM
First off, I have contacted my hosting provider and confirmed that I am running Apache with mod_rewrite enabled. So that's taken care of.
The comments that come with the ht.access file that comes with Etomite says to uncomment the three Rewrite directives.
RewriteEngine On, RewriteCond, and RewriteRule in the ht.access file were already uncommented, so I figure that's good.
However, it also says to make sure RewriteBase points to the directory where you installed Etomite. I don't know how to do this.,
My questions are:
1) How do you make sure the RewriteBase are pointed to the right directory? Mine is installed in the default Etomite0.6 directory.
2) Is there anything else I should know to ensure friendly URL's will work?
Thanks
Gary Olson
#27
Posted 18 October 2004 - 11:49 PM
#28
Posted 19 October 2004 - 05:06 PM
rad14701, on Oct 18 2004, 03:49 PM, said:
Converting ht.access to .htaccess seemed pretty obvious, once you pointed it out.
Unfortunatley, now that I've got .htaccess correct, it throws me an internal server error message.
The error I get is "...html/Etomite0.6/.htaccess: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration"
This would seem to relate to the .htaccess line "php_flag zlib.output_compression On".
Unfortunately, I don't know what do to about it.
I assume it's not mis-spelled and I don't know how to include the module if it is missing.
Any thoughts? All help is greately appreciated.
Thanks.
Gary
#29
Posted 19 October 2004 - 07:21 PM
Now that you've renamed ht.access to .htaccess and that your 3 statements are uncommented you should add a new directive to .htaccess. The directive is RewriteBase.
If you google for the subject you will find this RewriteBase directive definition amongst many other pages.
Please do not ever underrate our good friend Mr. Google
#30 Guest_Alex_*
Posted 21 October 2004 - 12:11 PM
#31
Posted 22 October 2004 - 04:50 PM
I'm really getting to love this Etomite CMS.
Thanks for the help.
Gary
#32
Posted 31 October 2004 - 09:31 PM
HTTP Error 403 - Forbidden
Internet Explorer
I know it's not my .htaccess file, as i'm using the exact same one from my old host
any advice is appreciated.
Dean
#33
Posted 01 November 2004 - 07:20 AM
Alex, on Oct 15 2004, 09:04 PM, said:
According to my host, it is... Are there any FAQ's on the topic somewhere? Or just some extended info on the settings? The explanation in the htaccess file don't really help me much
#34
Posted 01 November 2004 - 07:27 PM
nikolajb, on Nov 1 2004, 09:20 AM, said:
Check the rights on .htaccess and ownership
Apache returns a 403, access forbidden, might be when it is trying to access the .htaccess
Good luck,
John
#35
Posted 01 November 2004 - 10:03 PM
pcwacht, on Nov 1 2004, 08:27 PM, said:
Apache returns a 403, access forbidden, might be when it is trying to access the .htaccess
Good luck,
John
nope, still not working.... i chmodded it to 777 - still error 403
has anyone got the text handy that should be included within the .htaccess file, incase the one that I have isn't somehow correct.
ta
Dean
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Is this the same as everyone else has got? as it isnt working for me - my server centre hsa suggested:
Quote
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users










