Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

CSS on pages (no replies)

$
0
0
windows10 / wampserver 3.1.4 / apache 2.4.35 .7 /php 7.2.10 / MySQL 8.2.13

I have just moved all my sitedata from a 6 year old Wamp to a new one on a new PC.

When I open a site with wampmanager / localhost I only get the unedited text and images on the index.htm-page. The css-file is not fetched / used.

My folderstructure for a site is:

Wamp64
www
..... sitefolder-nn
.......... subfolder-nn
............... css-folder
.................... filename.css

.......... pagefolder-nn
............... pages
.................... <link rel="stylesheet" href="/subfolder/css-folder/filename.css">
................... pages-subfolder
.................... pages
......................... <link rel="stylesheet" href="/subfolder/css-folder/filename.css">

The subfolder with the css-file (just one af a few subfolders) and the page-folders (about 50) are all on the same level. The pages-folders may contain page-subfolders.

I httpd.conf I have the root as:
ServerRoot "${APACHE_DIR}"

Can the problem be a "missing link" in the path for the css-file or should I look elsewhere?

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>