eT` Posted June 4, 2013 Report Share Posted June 4, 2013 Tātad vai ir iespēja ka HTACCESS strādā uz viena webservera, bet nestrādā uz otra? Mans htaccess: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ public/ [L] RewriteRule (.*) public/$1 [L] </IfModule> un iekšā /public direktorijā ir šāds: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !^(.+)\.(css|js|jpg|jpeg|JPG|gif|png|PNG|ico|pdf|swf|xml|pem)$ RewriteRule ^(.*)$ index.php?$1 [PT,L] </IfModule> Uz lokālā webservera (WAMPP) un uz viena klienta hostinga @ GARM darbojas, bet citam klientam uz GARM šis nestrādā Quote Link to comment Share on other sites More sharing options...
marrtins Posted June 4, 2013 Report Share Posted June 4, 2013 Jā, tāpēc, ka garmi izmanto http://www.litespeedtech.com/ un tas nav 100% savietojams. Quote Link to comment Share on other sites More sharing options...
eT` Posted June 4, 2013 Author Report Share Posted June 4, 2013 otrs hostings bija - http://abcidea.lv/ nezinu, ko tie lieto. @marrtins - ko tur var darīt lietas labā? HTACCESS jābūvē savādāk? vai izvēlēties citu hostinga provaideri? Quote Link to comment Share on other sites More sharing options...
marrtins Posted June 5, 2013 Report Share Posted June 5, 2013 Zinu, ka mod_rewrite uz tā litespeed darbojas savādāk/nepilnīgi (lieki piebilst, ka tas klients tagad ir pie manis :)). Varbūt pakonsultējies ar viņējo supportu - varbūt kaut ko ieteiks, jo es tādu neesmu nekad lietojis un negrasos :) Quote Link to comment Share on other sites More sharing options...
eT` Posted June 5, 2013 Author Report Share Posted June 5, 2013 Man jau ar iepriekšējo HTACCESS bija problēmas un tad es viņu pārtaisīju un aizgāja vienam. Otram tāds pats variants neiet. arghh... Quote Link to comment Share on other sites More sharing options...
daGrevis Posted June 5, 2013 Report Share Posted June 5, 2013 Es atkārtoju — šis te nav jādara servera levelā, bet gan appas. Quote Link to comment Share on other sites More sharing options...
marrtins Posted June 5, 2013 Report Share Posted June 5, 2013 Kā tas ir appas levelā? Kur sākas appa? Varbūt appa nāk kopā ar appas serveri? Quote Link to comment Share on other sites More sharing options...
daGrevis Posted June 5, 2013 Report Share Posted June 5, 2013 Appa nenāk kopā ar appas serveri. Appas levels šeit būtu PHP valoda. Quote Link to comment Share on other sites More sharing options...
marrtins Posted June 5, 2013 Report Share Posted June 5, 2013 Kāpēc? Quote Link to comment Share on other sites More sharing options...
daGrevis Posted June 5, 2013 Report Share Posted June 5, 2013 Kura appa nāk ar serveri? Quote Link to comment Share on other sites More sharing options...
marrtins Posted June 5, 2013 Report Share Posted June 5, 2013 Ja appa paredzēta darbinā ar serveri, tad tā nāk kopā ar serveri. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted June 5, 2013 Report Share Posted June 5, 2013 Web appas tā nedara, vai kļūdos? Nekad neesmu redzējis kodu + Apache vai Nginx bainarijus. Quote Link to comment Share on other sites More sharing options...
marrtins Posted June 5, 2013 Report Share Posted June 5, 2013 Tas ir tāpat kā teikt, nekad neesu redzējis appu kopā PHP *bainarijiem*. Ir prasības, tad var teikt, ka nāk kopā. Piem, vairums m$ nāk bez redistributable *bainarijiem* - vienreiz uzliec un miers. Appa neies bez tā. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted June 6, 2013 Report Share Posted June 6, 2013 Neesmu arī! :D Tas ir tāpat kā teikt, ka C appi nāk komplektā ar GCC. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted June 6, 2013 Report Share Posted June 6, 2013 ...vai spēle nāk kopā ar Windows. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.