SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: .css and .js in php apache2

  1. #1
    SitePoint Zealot
    Join Date
    Jan 2013
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    .css and .js in php apache2

    how can i make the apache to be able to read .css and .js file from .php file?

  2. #2
    It's all Geek to me silver trophybronze trophy
    SitePoint Award Recipient ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, Australia
    Posts
    19,937
    Mentioned
    216 Post(s)
    Tagged
    2 Thread(s)
    Apache doesn't read the files as such. You just link to your CSS and JS files as normal (you don't need to change anything). This is an HTML issue. Whether the page is .html or .php doesn't make a difference.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •