I have the same problem with bootstrap.php + index.php
In public I have this .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
http://localhost/BragaDigital/conteudos Not work
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
http://localhost/BragaDigital/ work
My alias…
Alias /BragaDigital/ "c:/wamp/www/BragaDigital/public_html/"
<Directory "c:/wamp/www/BragaDigital/public_html/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>
Whats is wrong?
Saudações Cordiais,
Miguel Vieira
Tecnlogias da informação e Comunicação
+351 93 336 27 07
PCONFIDENTIALITY: This message and any files transmitted with it may contain confidential and/or privileged information and is intended solely for the use of the addressee. If you are not the intended recipient or the person authorised to deliver it to the addressee, you are advised that you have received the message in error. Any use, dissemination, forwarding, printing or copying of this is strictly prohibited. Please notify the sender by return of mail and delete the material. Thank you for your cooperation.
De: Carlos Castro [mailto:carloscastro.carlos@gmail.com]
Enviada: terça-feira, 25 de Novembro de 2008 10:04
Para: Hector Virgen
Cc: fw-mvc@lists.zend.com
Assunto: Re: [fw-mvc] CSS problem on application path
hi.
my code is: <link href="<?= $this->baseUrl; ?>/css/style.css" rel="stylesheet" type="text/css" media="screen">
It works perfectly on my localhost (MAMP on MAC).
When i copy my project to a Windows Vista PC (with WAMP), it starts the error:
http://application/mypath => it works perfectly
http://application/mypath/ => the page is showed without CSS efects
Em 2008/11/25, às 04:48, Hector Virgen escreveu:
Are you using a relative path to your CSS file? With a trailing slash at the end of the url, the browser will attempt to look in the /mypath folder for the CSS file.
I've found it's best to prefix my CSS paths with a forward slash:
// in a controller
$this->view->headStyle()->appendStylesheet('/mystyles.css');
-Hector
On Mon, Nov 24, 2008 at 7:53 AM, Carlos Castro <carloscastro.carlos@gmail.com> wrote:
Hi everybody,
I have a problem with my application aspect (CSS) when i put a slash (/) at the end of my URL.
Example:
http://application/mypath => it works perfectly
http://application/mypath/ => the page is showed without CSS efects
Can someone help me to resolve this problem?
Best Regards,
Carlos Castro
没有评论:
发表评论