/    Sign up×
Community /Pin to ProfileBookmark

Wamp Server / all Browsers is not showing local files

Hi,
I am using php and wamp server 2.2.21. Suddenly wamp server (or we can say all browsers) stopped showing local files, until i upload these files on server. suppose i make changes in .css files or .php or .js file…. wamp is not showing the results.. until i upload these files to server……. [B]inline css is working well[/B]….. but i [B]have to upload .css[/B] file after changing

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@jedaisoulNov 19.2016 — Hi and welcome to the site.

Please clarify whether the local files are within the local server path. If not, they won't show. E.g. Assuming that WampSever is installed in C:wamp (the default):

- Files in C:wampwww will be accessible by localhost.

- Files in C:workarea will need to be copied to C:wampwww...
Copy linkTweet thisAlerts:
@Satbir_SinghauthorNov 19.2016 — Hi and welcome to the site.

Please clarify whether the local files are within the local server path. If not, they won't show. E.g. Assuming that WampSever is installed in C:wamp (the default):

- Files in C:wampwww will be accessible by localhost.

- Files in C:workarea will need to be copied to C:wampwww...[/QUOTE]


[code=html]<hr />[/code]

of course, all files are within local server path i.e.

C:wampwwwmy-sitestyles.css

Not

http://www.mydomain.com/styles.css
[code=html]<hr />[/code]
This is very strange, I am unable to finish my so many websites
Copy linkTweet thisAlerts:
@Satbir_SinghauthorNov 19.2016 — ofcourse, all of my files with local server path.


i.e.

C:wampwwwmy-sitestyles.css

instead of

http://www.mydomain.com/styles.css (not like this)
[/QUOTE]
Copy linkTweet thisAlerts:
@jedaisoulNov 19.2016 — OK, how are you addressing the files? E.g.

good: //localhost/my-site/styles.css

bad: C:wampwwwmy-sitestyles.css
Copy linkTweet thisAlerts:
@Rihan_sharmaNov 22.2016 — Can you access localhost:8080/index.html(assuming you have one) ? Where are the links stored that show you those broken URLs? Who wrote them? It seems like those links are just written badly.

[B]**Links removed by Site Staff so it doesn't look like you're spamming us. Please don't post them again.**[/B]
×

Success!

Help @Satbir_Singh spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...