Friendly URL's 0.6.x (Apache)
#61
Posted 02 February 2005 - 02:58 PM
I am new user of Etomite, first I would like to thank you, guys, it is just great. Only few remarks, can you fix
1/ date of release is NOT visible at the download page, si I don know if 0.6 is from yesterday or 1999.
2/ documentation is unsufficient, which then take time to find answers by trial and error.
3/ how far is version 0.7 ? weeks? months? years? never?
Remember the golden rule:
Informantion (function,feature, document) which is not well documented does not exists for most other users, thus time and effort invested into its development is wasted.
and my question, I've selected Etomite over the other CMS because it promisses nice URI's (like http://mysamplesite.com/hobbies/bier/prefix123.html intstead of http://mysamplesite....p?123?jdfjg.php) which is good for readers, google, and my good feeling.
Indeed I know that I am not able to play with .htaccess. So I took Etonite.
Somehow that nice URI option does not work, once I enable in in manager modul, all my pages are 404.
Any idea? I have Etomite in /www of my domain. so
http://jirkacech.info
http://www.jirkacech.info
gives me the same thing, as I want.
I did not modified anything, but enabling nice URI at manager.
How di I fix nice URI?
#62
Posted 02 February 2005 - 03:01 PM
There are many posts within the forum regarding .htaccess and friendly urls - doing a search will probably yield better results that waiting for someone to post a reply :-)
#64
Posted 02 February 2005 - 03:17 PM
Quote
#65
Posted 02 February 2005 - 03:20 PM
Jirka Cech, on Feb 2 2005, 03:17 PM, said:
There is one in the root of the eto install, and one within the manager folder.
#66
Posted 02 February 2005 - 03:30 PM
deanstev, on Feb 2 2005, 05:20 PM, said:
There is one in the root of the eto install, and one within the manager folder.
the rename thing should be strong RENAME /strong in documentation.
#67
Posted 02 February 2005 - 03:33 PM
#68 Guest_Alex_*
Posted 02 February 2005 - 05:51 PM
Documentation on OS projecs is usually quite lacking, and that's because the people who write it do so for free, without any kind of reimbursement. Make an offer we can't refuse, and I'm sure someone'll write absolutely perfect documentation for you. Also, instead of complaining about the fact that you think the docs are insufficient, maybe you could provide examples, or pointers, so we at least know WHY you think it's insufficient, and what you, as user, expect the documentation to consist of.
There is only one version of Eto available for download at the moment, so why would you even care when it's from? If it's the last release, and it is from 1999, so what? The production stable version is simply the production stable version. It doesn't matter if it's from yesterday or from years ago.
And as for 0.7, if you read the topics in the 0.7 forum, you'd get an impression of roughly what time frame we're aiming for. Suggesting 'never' offends me, by the way. I spend a good deal of time on 0.7 at the moment, and posts like this don't really help. Please take that into account in future posts, thanks.
I'm not trying to get at you or anything, I just want to let you know that round here 'moany' posts aren't received too well.
#69
Posted 01 March 2005 - 09:39 AM
Please if somebody can help me I will appreciate.
I asked my server provider to do this:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
and it was an internal server error.
Please can you write me what it should be changed in apache probably in httpd.conf yes?
Please write me step by step what have to be changed there on apache and also please send me the correct .htaccess file and please tell me where it have to be placed.
Thank you very much in advance.
Please answer.
With the best wishes.
Slawek
#70
Posted 01 March 2005 - 08:08 PM
slawekp, on Mar 1 2005, 09:39 AM, said:
I suggest searching the forums, as you would have then found this thread (that I have moved your post into)..
I really don't think that anyone will send or write a step by step, but we may be able to provide pointers... which Apache are you using?
search before you post
#71
Posted 03 March 2005 - 11:15 AM
deanstev, on Mar 1 2005, 09:08 PM, said:
I really don't think that anyone will send or write a step by step, but we may be able to provide pointers... which Apache are you using?
search before you post
I am running few different webistes based on etomite there are www.prawda.own.pl, www.truth.own.pl, www.rower.dekalog.pl, www.bicycle.dekalog.pl, www.rower.pr.radom.pl, www.bicycle.pr.radom.pl all of them are on Apache/1.3.31
and www.galeriaart.com.pl are on Apache/1.3.27
Please if you can give me suggestion what to do that friendly url will work properly without Internal server error because of .htaccess on server.
Please help.
I will appreciate your suggestions and help.
With the best wishes.
Slawek
#72
Posted 03 March 2005 - 01:34 PM
slawekp, on Mar 3 2005, 12:15 PM, said:
I am running few different webistes based on etomite there are www.prawda.own.pl, www.truth.own.pl, www.rower.dekalog.pl, www.bicycle.dekalog.pl, www.rower.pr.radom.pl, www.bicycle.pr.radom.pl all of them are on Apache/1.3.31
and www.galeriaart.com.pl are on Apache/1.3.27
Please if you can give me suggestion what to do that friendly url will work properly without Internal server error because of .htaccess on server.
Please help.
I will appreciate your suggestions and help.
With the best wishes.
Slawek
I had the same problem, and adding RewriteBase / to my .htaccess helped a lot.
Try to put this on your .htaccess file:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
#73 Guest_rthrash_*
Posted 06 March 2005 - 04:05 PM
BertB, on Mar 3 2005, 08:34 AM, said:
Try to put this on your .htaccess file:
...
RewriteBase /
...
Thank you for that! I think it should solve the issue I was having with SEF URLs with alias paths as provided by Daath, especially with installs that are done not in the root of a directory by change it to "RewriteBase /path/to/intsall/".
#74
Posted 08 March 2005 - 10:01 AM
BertB, on Mar 3 2005, 02:34 PM, said:
Try to put this on your .htaccess file:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]Thank you very much for your help and suggestions. I will try to do that what you suggested. I hope it will work.
With the best wishes.
Slawek
#75
Posted 08 March 2005 - 10:09 AM
BertB, on Mar 3 2005, 02:34 PM, said:
Try to put this on your .htaccess file:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]Parse error: parse error, unexpected T_STRING in /home/wwwstrony/rower.pr.radom.pl/index.php(643) : runtime-created function on line 2
Notice: Undefined index: version in /home/wwwstrony/rower.pr.radom.pl/index.php on line 1026
Notice: Undefined index: code_name in /home/wwwstrony/rower.pr.radom.pl/index.php on line 1026
Parse error: parse error, unexpected T_STRING in /home/wwwstrony/rower.pr.radom.pl/index.php(643) : runtime-created function on line 2
Warning: preg_replace_callback() requires argument 2, '', to be a valid callback in /home/wwwstrony/rower.pr.radom.pl/index.php on line 643
« Etomite Parse Error »
Etomite encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: preg_replace_callback() requires argument 2, '', to be a valid callback
Error type/ Nr.: Warning - 2
File: /home/wwwstrony/rower.pr.radom.pl/index.php
Line: 643
Line 643 source: $documentSource = preg_replace_callback($in, create_function('$m', $func), $documentSource);
Parser timing
MySQL: 0.0037 s s (5 Requests)
PHP: 0.0214 s s
Total: 0.0251 s s
Powered by Etomite
Notice: Undefined index: HTTP_REFERER in /home/wwwstrony/rower.pr.radom.pl/index.php on line 1216
Please can you help me? How to respolve the problem?
With the best wishes.
Slawek
#76
Posted 27 April 2005 - 05:36 PM
I'm having a problem with SEF URL's with a domain that's being served from a subdirectory in my root. Such as:
mydomain.com/sites/another_domain
If I access the site like this - mydomain.com/sites/another_domain - the alias url's work fine. However, when I try to go directly to another_domain.com/alias.html, I get 404's.
I've tried various RewriteBase commands, such as:
RewriteBase /
RewriteBase /sites/another_domain/
RewriteBase /var/www/html/sites/another_domain/
and nothing works. So, if anybody could explain how it SHOULD work, I'll try to go from there. Thanks a lot, and thanks for Etomite. Great CMS!
#77
Posted 27 April 2005 - 07:49 PM
In other words, does:
another_domain.com/index.php
take you to your home page as it should? If so, do other non-aliased pages work like:
another_domain.com/index.php?id=6
#78
Posted 27 April 2005 - 08:01 PM
It seems to me that no RewriteBase would be required, since that should be handled in the http.conf, or whatever is directing the domain to the subdirectory. I'm assuming, since SEF url's work if I go directly to mydomain.com/sites/another_domain, that it must be some conflict with the rewrite happening in the .htaccess file, and the redirect for the domain. However, since I know next to nothing about Apache and these issues, I'm a bit at a loss.
#79
Posted 27 April 2005 - 08:13 PM
jebus, on Apr 27 2005, 05:01 PM, said:
It seems to me that no RewriteBase would be required, since that should be handled in the http.conf, or whatever is directing the domain to the subdirectory. I'm assuming, since SEF url's work if I go directly to mydomain.com/sites/another_domain, that it must be some conflict with the rewrite happening in the .htaccess file, and the redirect for the domain. However, since I know next to nothing about Apache and these issues, I'm a bit at a loss.
But if you are attempting to host multiple domains you will need to setup virtual domains within Apache... When I do this kind of a setup I usually place all of the subdomains off the original docroot which then makes that domain inaccessible... If I want to use the content of the docroot I move it into another subdirectory... And I usually do it the easy way by naming the subdirectories with the actual domain names...
Hope this helps...
#80
Posted 27 April 2005 - 08:36 PM
I do have a distinct .htaccess file in the domain in the subdirectory. I have the addon domain in a directory (named the same as the domain as you suggest) within a subdirectory of the root, such as:
/sites/addon_domain/
and would like to be able to continue to add new domains, all within the "sites" directory.
I added the addon domain through my ISP's admin tool, and pointed it at that subdirectory. I can go to addon_domain.com and access the site. It's only when I try to use SEF url's that I have a problem.
This essentially mean I have set up a virtual domiain, correct? Surfing to addon_domain.com brings be to the site, so I'm assuming Apache sees it that way, but apparently something is amis. My apologies for my Apache ignorance.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











