• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Pekna URL
PostPosted: Fri Apr 06, 2012 9:21 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Fri Jan 02, 2009 2:22 pm
Posts: 82
Location: Prague, Jilemnice, Czech republic
Proč nepoužíváš standardní postup z návodu?

_________________
Nothing is true, everything is permitted.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Pekna URL
PostPosted: Fri Apr 06, 2012 9:34 am 
Offline
Forum Members
Forum Members

Joined: Sat Feb 18, 2012 2:56 pm
Posts: 17
Skusal som aj ten, ale ignoruje to. Do suborov to davam spravne? Pretoze v konfigu uz nejaky kod je, iba som pridal dalsi.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Pekna URL
PostPosted: Fri Apr 06, 2012 11:05 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Fri Jan 02, 2009 2:22 pm
Posts: 82
Location: Prague, Jilemnice, Czech republic
Takže tenhle náývod nefunguje? http://wiki.cmsmadesimple.org/index.php ... ty_URL.27s

_________________
Nothing is true, everything is permitted.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Pekna URL
PostPosted: Fri Apr 06, 2012 11:46 am 
Offline
Forum Members
Forum Members

Joined: Sat Feb 18, 2012 2:56 pm
Posts: 17
Cody wrote:


Vsetko som spravil podla navodu. Na localhoste nereaguje, a pri nahrati na server hadze chybu 500.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Pekna URL
PostPosted: Fri Apr 06, 2012 12:42 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Fri Jan 02, 2009 2:22 pm
Posts: 82
Location: Prague, Jilemnice, Czech republic
Viděl bych pak asi problém v instalaci a nastavení serveru, když zkusíš dát čistou instalaci na server? Mě to totiž vždy fungovalo.

_________________
Nothing is true, everything is permitted.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Pekna URL
PostPosted: Fri Apr 06, 2012 5:23 pm 
Offline
Forum Members
Forum Members

Joined: Sat Feb 18, 2012 2:56 pm
Posts: 17
Je to cista instalacia. Iba 1 template bol do cms nakopirovany. Server je plateny, podporuje apache a mod_rewrite. Chyba bude asi u mna. .htaccess je:
Code:
 Options +FollowSymLinks
  RewriteEngine on
  RewriteBase /

  RewriteCond %{REQUEST_URI} !/$
  RewriteCond %{REQUEST_URI} !\.
  RewriteCond %{REQUEST_METHOD} !POST$
  RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
 
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.+)$ index.php?page=$1 [QSA]


a config vyzera presne tak:
Code:
 <?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
...
  # cool url
  $config['url_rewriting'] = 'mod_rewrite';
  $config['page_extension'] = '.html';  or some other extension, .php, .asp
  $config['use_hierarchy'] = true;
  $config['query_var'] = 'page';
?>


Pri configu hodi syntax error, a pri .htaccess internal error.


Last edited by ferdo93 on Sat Apr 07, 2012 9:58 pm, edited 1 time in total.

Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Pekna URL
PostPosted: Fri Apr 06, 2012 8:12 pm 
Offline
Forum Members
Forum Members

Joined: Fri Sep 09, 2005 12:33 pm
Posts: 31
Location: Ostrava, Czech republic
Zkus v .htaccess zakomentovat
Code:
Options +FollowSymLinks

Některým hostingům se tato volba "nelíbí" a vyhazují "500 Internal Server Error"


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Pekna URL
PostPosted: Fri Apr 06, 2012 8:45 pm 
Offline
Forum Members
Forum Members

Joined: Sat Feb 18, 2012 2:56 pm
Posts: 17
Problem solved. Vdaka za rady.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting