I have a Linux machine, and a Windows 7 machine, each of which is using the exact same code (they are both using the same git repo). I am running the Symfony2 code on both servers in the dev environment.
The website loads and runs just great on the Linux server. On the Windows 7 server (my local laptop) the server seems to be missing all the routes it needs to render the site correctly. For example:
None of the CSS and JS files are loading on the site. They are throwing a 404 page not found error.
If I attempt to navigate to any other pages from the home or landing page, a 404 error is always thrown: The requested URL was not found on the server.
I've cleared the cache, and run through the app/check.php on the windows box, but to no avail. I'm wondering if the Windows server setup needs to be modified in some way so the routing works as expected? I'm thinking that the problem is the routing on the Windows server, as the requested URLs can't ever be found.
Any ideas on where I can go to find a solution or any tests I can perform to track down the issue?
Thanks,
Derrick
In the httpd.conf file, you must be sure that:
LoadModule rewrite_module modules/mod_rewrite.so
is active. In my windows distribution of apache 2.2, it was commented out. I'll suggest to Symfony2 that they add this module to their check.php file for future developers. I'm guessing they just assume that it will always be enabled in the apache distributions.
Related
I installed Kentico and have been going through the tutorial. But I needed to work on another project and when trying to do so I was unable to as the Kentico project seems to be running on the localhost:8080 port.
I would like to restore localhost:8080 back to the way it was.
This is the error that I get when opening localhost:8080
localhost error screenshot
I have tried to enable directory browsing and trying to stop the process running on localhost:8080 but they did not work.
Any help would be much appreciated if anyone has any suggestions or has had to deal with something like this before.
In IIS you need to stop the site you were working on and start the other site you want to work on.
As per the error snapshot (HTTP Error 403.14- Forbidden), it looks like its a access issue for your respective website virtual directory.
To overcome this problem you need to provide IIS user permission and the current system user permission to the kentico website folder and also make sure the path of your project in IIS pointing to Kentico Website solution until root folder where you have a web.config file.
How to give folder permission you can check on this reference link
IIS7 folder permissions for web application
Thanks and Regards
Nikhila Pocha
You can change the port of the websites in the applicationhost.config file for IIS Express.
Mine is located under '%userprofile%/Documents/IISExpress/Config'.
From there you can search for the 'sites' node. Look for your website and change the port number in the following line:
<binding protocol="http" bindingInformation=":8080:localhost" />
I am getting the above error message in production when trying to call the AddImageUrl section of ABCPdf (version 10). This started occurring yesterday just after midday my hosting provider assures me nothing has changed I am the only developer on the project as was working on something else entirely.
The URL provided in the stack trace can be accessed in IE on the web server without any error messages (including SSL). There is also a UAT environment on the same web server in which the PDF works, the UAT environment is identical in code and application pool settings, the only difference is the web address and database.
The HTML the PDF is calling can take a little time to come up on first load. Given that data is different I have increased the timeout from 15 seconds to 2 minutes.
I have arranged a reboot to see if that fixes it, but I have run out of things to check.
Edit: I did think of one further check, could I add the image of a page not on the site (https://www.google.co.uk/), doing this resulted in the same error so it appears not to be a blocking issue on the worker process.
—
Edit2: switched to the gecko engine and it is now working.
You can sometimes get this error if the web browser within Abcpdf cant access the URL.
On the webserver add the URLs directly to the local machine hosts file
C:\Windows\System32\drivers\etc\hosts
The entry should look something like this
127.0.0.1 example.com
For a LAMP website hosted on your localhost server, you would simply open index.html or index.php of the website in a browser to run the site.
Where is the entry point to open a sample website using the MEAN stack?
I've loaded a copy of this repository https://github.com/linnovate/mean into a www/var/ directory, to see if I could get a MEAN site working. In attempting to access
/mean-master/packages/custom/meanStarter/public/views/system/index.html.
It fails to open "403 Forbidden".
I am using Ubuntu 16-LTS with Eclipse, I believe I have the appropriate dependencies but I still might be approaching this all wrong.
My goal is to get a sample MEAN stack site running on my localhost and explore from there.
You have to run the node server command which will start the node web app contained in the server.js file. Basically server.js is the starting point.
In the readme itself it explains how to start it : https://github.com/linnovate/mean#invoke-node-with-a-task-manager
I'm running JMeter 3.0 on a laptop (Lenovo y700) with win10. I'm trying to get a response from a website and getting a 404 response. when I try other web sites everything works fine. tried running it from my desktop PC (win 8.1) but got the same 404 , and with another website, everything runs fine. now here's the tricky part. I've tried it again on a mac laptop (not sure the version of the os) and there everything was running fine (including the website who didn't work on the other machines).
1
3
Try using SOAP/XML-RPC Request with Send SOAPAction enabled and one HTTP Header Manager in the request.
Apache Jmeter - Samplers - SOAP/XML-RPC_Request
Look at your website logs. It is unfortunately common for developers to leave a reference on a web page which is not built out, leaving an orphaned reference. if you see the 404 in the HTTP request logs and in your results then you can be objectively certain that the reference is missing.
Should have been caught by development but was not
Should have been caught by functional testing but was not
Test blamed for being faulty because it reported something no one else caught
Common scenario....
I've done this many times in the past, but this is new, and I think CF11 is the problem. Not sure.
Fresh Windows Server 2012.. installed CF11. Selected "Configure All IIS Websites" during install. There's only two sites configured in IIS -- Default, and one other, which has its own name (test.mydomain.com) configured in the hosts file and in DNS. In its webroot is a single index.cfm file, and a subdirectory thereof, is an actual ColdFusion web app.
When I browse to the webroot, I get a standard Microsoft IIS page, rather than the index.cfm file. If I browse to the subdirectory, I get 404.
I've set index.cfm as the default document.
The path specified to the webroot is correct.
If I run the wsproxyconfig.exe file, it shows nothing is configured. I click Add, select IIS. In the drop-down where you configure a specific site, it says None and is not selectable. If I try to add, I get the error, "Unable to configure WebSocket Proxy Enable the required WebSocket Protocol option in IIS." I've looked all over IIS and can't find where this setting might be.
What's interesting is I can get the cfadmin page to load and function just fine (127.0.0.1/cfide/administrator)... there are no port numbers in that URL so it must be passing through IIS. So I'm not really sure what the problem is. Is it the connector? Is it something else? I'm stumped.