I'm new to polymer. I followed the starter kit and created some pages. On my PC localhost, everything works fine. But once deployed to the server, I've got the following problem :
- I can access the site
- I can navigate between my different pages
- but if I try to access directly to a page or if I actualize my browser page when navigating : I get a 404
I don't underdstand why.
Do you have any idea ?
my case : www.tora-photo.com -> works
http://tora-photo.com/gallery/mist -> 404 but can be accessed from the previous url
thanks a lot for your help
the solution : use use-hash-as-path in app-location and add hash to href source
Your server needs to redirect all paths to your index.html which is actually handling your routing. The server is returning a 404 because you don't hactually have a file file called index.html in the /gallery/mist/ folder from the root of your web servers base.
Related
Im trying to deploy my WebApplication on a TomCat 9.0.11.
Now everything went good so far, the artifact was deployed into the ROOT directory, but the page just wont load, and doesnt shows up my index.html? Does anybody see the error here? If i forgot something please tell me so i can add the missing stuff.
EDIT: I want to run the server on Windows first, later on Debian. The website should also be accesibile trough example.com not f.e. example.com/app (or for Windows localhost not localhost/app)
TomcatConfiguration1
TomcatConfiguration2
Artifacts
ServerLog
TomcatServer after deployment
Trying to open the page
Greets
Lukas
i think project should be inside the webapp folder not inside root .Please attach log which can show us the context loading .
Or you can refer to this link:
Deploying just HTML, CSS webpage to Tomcat
I've recently created a blog using Jekyll and Github Pages and bought a custom domain from GoDaddy. While it seems to work fine on my windows laptop, my phone, and my friend's computers, most of the times that I try to load it on my MacBook Pro it goes to one of the following pages:
Custom GoDaddy page with ads.
What seems to be a GoDaddy page with message: "website coming soon! Please check back soon to see if the site is available."
Github Pages message: "404: File not found The site configured at this address does not contain the requested file.If this is your site, make sure that the filename case matches the URL. For root URLs (like http://example.com/) you must provide an index.html file."
I also noticed that sometimes the page fails to open and redirects to the url with a /xxxx/ in the end like http://page.com/KQMRn/.
In case it helps, the page is joelcponte.com and the GitHub repository is GitHub.com/joelcponte/blog.
Your DNS configuration seems to be wrong :
dig joelcponte.com
;; ANSWER SECTION:
joelcponte.com. 238 IN A 184.168.221.38
joelcponte.com. 238 IN A 192.30.252.153
joelcponte.com. 238 IN A 192.30.252.154
You must remove the first DNS (184.168.221.38) which is a GoDaddy IP.
i need help : i can't open local folder from hyperlink in webPart 'Script Editor'
Simple Code : [a href='C:\Users\User\Desktop\Folder']open folder[/a]
or like a link in Library. Any idea?
weird things that is working on the another PC and not on mine.
I'am working with IE 11
If you are working on the server this will work but for users that are not, the path will try to get the folder on their local machine. You might try to have a website in your IIS and put files in a folder of a website. Then you might be able to link the folder (with URL (http or https), not by path) if the 'directory browsing' is enabled in your iis features.
You can find more info on directory browsing here: http://blogs.iis.net/bills/how-to-enable-directory-browsing-with-iis7-web-config
PS: this is not a SharePoint question...
I have an issue on fortrabbit which I can't figure out on my own, and google is not of much help either.
I have this website which works fine on the temp domain that fortrabbit gives upon creating the app: App on Dev. Now I have an actual domain for this which is: App on Live, but it shows a 404 page for some reason. The app is configured in fortrabbit to point to the 'public' folder and overall has the same setup as the Dev app, but I still can't figure out why it shows a 404 page.
Thank you!
Found the fix for this. The domain in fortrabbit dashboard had to be set to "www.blackflame.digital", it was set to "blackflame.digital" before, so just had to add the "www" at the beginning.
Uploadify works for Visual Studio but not for IIS 7 (same machines), using Forms authentication. Does anyone have a working uploadify configuration for IIS 7 where they save to a subfolder?
I'm using the Uploadify jQuery control for client-side uploads.
I think my IIS 7 configuration has issues with it. The uploadify POST immediately returns a HTTP 1.1 302 Found, back to my login page.
I've tried to allow anonymous access to the uploading section(subfolder) plus the page(script) that processes the image in the web.config, using the location node(configuration ... location). Seems like the Uploadify post is immediately blocked.
Again, this worked fine just using Visual Studio 2008, but when I run the site on the same machine I get the redirect.
Your thoughts/ideas are very welcomed!
It seems that the many nested master pages included Forms Authentication code to ensure the user was authenticated. This was the source of the redirect ...
I had same problem as you. Check path of your *.axd script. When you have path like uploader.axd uploader work fine only in root. Try path with slash like this -> /uploader.axd.