Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8301247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:52:12+00:00 2026-06-08T16:52:12+00:00

I have css and js inside webroot folder, but all are not loading …

  • 0

I have css and js inside webroot folder, but all are not loading …

It gets an error in firebug

"NetworkError: 500 Internal Server Error - http://localhost/cakephp/"
"NetworkError: 404 Not Found - http://localhost/cakephp/css/common.css"
"NetworkError: 404 Not Found - http://localhost/cakephp/js/common.js"

My Base folder is cakephp. But some contents is displaying in page(http://localhost/cakephp/) with no style. Contents are coming from database.

Main Redirect links are also not working…

The requested URL /cakephp/videos/list was not found on this server.

Only Home page is showing contents…

Layout page

echo $this->Html->css('common');
echo $this->Html->css('dialog');
echo $this->Html->script('jquery.min'); 
echo $this->Html->script('common'); 

.htaccess

# compress text, html, javascript, css, xml:
SetOutputFilter DEFLATE
<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

app/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule    ^$    webroot/    [L]
    RewriteRule    (.*) webroot/$1    [L]
 </IfModule>

app/webroot/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T16:52:14+00:00Added an answer on June 8, 2026 at 4:52 pm

    You should enable mod_rewrite in your Apache config, you can find out more here, http://book.cakephp.org/2.0/en/development/routing.html

    You can also turn this off the need for mod_rewrite if you need in the app/config/core.php line 84

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a folder inside my ASP.NET web application. I put all css files
I have a div[class=container] and inside is div[class=item] like: <style type=text/css> .container{ height:50vh; width:
I have a div having a css class MyClass. Inside this div, I can
I have defined CSS in MasterPage so that all pages can use the same
I have an .SWC library with a style.css file inside. The .SWC file is
I have simple question. I have webdirectory /css and inside is file style.css .
I have 3 links on a page. All have css class=suggested_product and an id
I have an anchor tag <a> inside a <span> tag. I have applied CSS
I have a css dropdown menu with an HTML select form inside of that
I have two css columns for my website they fit inside a main container,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.