[ Stranger2 @ 27.02.2010. 16:27 ] @
Kod odabira CMS-a me prvenstveno brine sta ce biti s URLovima ako se kasnije predomislim. Sada sam se definitivno odlucio za Drupal. Medjutim jos me brine da li da URL ove ostavim na defaultu da svaki URL sadrzi ?=nazivstranice ili da ukljucim CleanURLs CleanURLs bolje zvuci medjutim kada pokusam da ga ukljucim pise da server nije konfigurisan da podrzava ovu mogucnost?! inace sam na Godaddy hostingu i drupal sam instalirao automatski iz njihove "hosting connection" aplikacije. U root folderu od drupala ima .htacces fajl koji pocinje sledecim kodom: Code: # # Apache/PHP/Drupal settings: # # Protect files and directories from prying eyes. <FilesMatch "\.(engine|inc|info|install|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$"> Order allow,deny </FilesMatch> # Don't show directory listings for URLs which map to a directory. Options -Indexes # Follow symbolic links in this directory. Options +FollowSymLinks # Make Drupal handle any 404 errors. ErrorDocument 404 /index.php Sta bo trebao da izmenim da omogucim CleanURLs? Pretpostavljam da je to ova opcija "Options -Indexes" samo en znam u koju da je promenim??? Takodje na dnu .htaccess fajla ima sledeci kod: Code: # Modify the RewriteBase if you are using Drupal in a subdirectory or in a # VirtualDocumentRoot and the rewrite rules are not working properly. # For example if your site is at http://example.com/drupal uncomment and # modify the following line: # RewriteBase /drupal # # If your site is running in a VirtualDocumentRoot at http://example.com/, # uncomment the following line: # RewriteBase / # Rewrite URLs of the form 'x' to the form 'index.php?q=x'. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] </IfModule> Al ija ne razlikujem u cemu je razlika izmedju "Using Drupal in a subdirectory or in a VirtualDocumentRoot and the rewrite rules are not working properly." i "Running in a VirtualDocumentRoot" ??? --- Takodje me zanima da li mi preporucujete da uopste ukljucujem tu opciju ili da ostavim klasicne urlove sa upitnikom? [Ovu poruku je menjao Stranger2 dana 27.02.2010. u 17:40 GMT+1] |