Coldfusion 2018 vs 11, Centos 6 vs 7, handling of symlinks - coldfusion

I'm getting different outputs from getCurrentTemplatePath in CF2018 on Centos7 vs CF11 on Centos6
/path/to/folder contains a symlink v1 which points to /path/to/v1
With an apache website using DocumentRoot /path/to/folder, then visiting /v1 in a browser, the index.cfm dumps out expandPath('.') and getCurrentTemplatePath()
in CF11 on Centos6, I get:
expandPath: /path/to/v1
getCurrentTemplatePath: /path/to/v1/index.cfm
in CF2018 on Centos7, I get:
expandPath: /path/to/v1
getCurrentTemplatePath: /path/to/folder/v1/index.cfm
Can anyone explain why the getCurrentTemplatePath is different between the 2?
My issue is there is no Applicaiton.cfc in /path/to/folder but there is in path/to/v1
The index.cfm in CF11 will see the Application.cfc but CF2018 wont

Related

Does cfhttp for coldfusion 10 only supports up to TLS 1.0?

Does cfhttp for coldfusion 10 only supports up to tls 1.0?
When I disable tls 1.0 in the web server only allowed 1.1 and higher it seems to break the scheduled tasks.
CF 10 with JRE 1.6
The problem is with the Java version you are using, not CF10.
TLS 1.1 is only supported in Java 1.8 on CF10 (Oddly 1.7 and above in CF11)
See this Adobe Blog as a starting guide to updating your Java.
http://blogs.coldfusion.com/post.cfm/how-to-change-upgrade-jdk-version-of-coldfusion-server
Using ColdFusion administrator console.
Download the latest minor version of the supported JDK or Server JRE.
Install the JDK or Server JRE.
Navigate to ColdFusion Administrator > Server Settings >
Java and JVM section.
Browse the path to the JDK or Server JRE from
the “Java Virtual Machine Path” textbox which you intended to use with
ColdFusion.
Click “Submit Changes”. Restart the ColdFusion Application
service.
By changing the JDK or Server JRE path from the jvm.config file.
Download the latest minor version of the supported JDK or Server JRE.
Install the JDK or Server JRE.
Open jvm.config file located at
\cfusion\bin.
Change the value of java.home to the
JDK or Server JRE path. [For example: C:\Program
Files\Java\jdk1.8.0_25\jre or C:/Program
Files/Java/jdk1.8.0_25/jre]
Save the changes to the jvm.config file.
Restart the ColdFusion Application service.
You will require Update 14 and above if you want to install Java 1.8 on CF10

Configuration of modwsgi with wamp server

I would like to deploy a Django application in a production environment (Windows Server 2012 R2).
I am unable to configure modwsgi for a WAMP server.
There are a few posts for this topic, however it seems that all are old and not applicable now. All the posts say that I should have the .so file of modwsgi, but I am unable to find this file.
I have downloaded the source code for modwsgi and also .whl file, but don't know how to configure.
System configuration is as follows:
Operating System: Windows Server 2012 R2 (64 bit)
WAMP Server 2.5
Python 3.4
Django 1.7
Have you looked at the official mod_wsgi download area at all?
https://github.com/GrahamDumpleton/mod_wsgi/releases
All the release notes specifically say to read:
https://github.com/GrahamDumpleton/mod_wsgi/tree/master/win32

Deploying Django in Apache server

I finished my project in the development server and now I worked it using Apache in the localhost. The project worked good. Now, I got an apache sever. can you please clarify some of my doubts;
1. Need to upload the Django installation files, mod_wsgi and any other files to the server?
2. Can I maintain the same folder directory as I did with the local host Apache?
3. what is httpd.conf, and where can I find it in my server?
I am using Linux ubuntu OS, Python 2.7, Django 1.6 and my server got its first level of directories like:
.cpanel, .htpasswords, cpmove.psql, etc, logs, mail, public_ftp, ssl, tmp, www, access-logs and some more .conf and other type files.
Among above directories, I can't open the www folder.
Please suggest any tutorial or some other way to resolve things. It will be very helpful for me and my team.
Thanks in advance

Wamp online (green icon) but can´t execute a php script

Wampserver online (icon is green), phpmyadmin loads but can´t manage to work a php test script.
First let me explain that port 80 was taken by microsoft - IIS / 8.0 , this obliged me to reconfigure : wampmanager.tpl and http.conf to port 8080.
As http://localhost:8080/ is typed on the browser, it finds normally the Server Configuration Apache Version : 2.4.4 PHP Version : 5.4.12 and PHPMYADMIN loads as well.
I tried to run a very simple php script to test the server but it hasn´t worked.
I saved it to the folder C:\wamp\www , typed on the browser http://localhost:8080/www/test_wamp.php resulting in :
The requested URL /www/teste_wamp.php was not found on this server.
Can someone please sugggest me a possible solution ?

ubuntu django and apache, cannot find the site

I am brand new to web app development and thought I would try django as I am familiar with python. I followed the following guide: http://www.lennu.net/2012/05/14/django-deployement-installation-to-ubuntu-12-dot-04-server/ to deploy a django page to the letter. However, I now realize that this guide was for the server version of the OD and i'm running the desktop version. When I try to open my site in chrome (amitash.r) it fails with a page not found. Now when I open localhost, I get an internal server 500 error. All my config files are exactly as stated in the guide. Any fixes?
Can you post your mod_wsgi script and Apache VirtualHost file?
Following the instructions from the link you gave, the mod_wsgi script should be in:
/srv/my_project/app/conf/apache/django.wsgi
The VirtualHost file location from the link should be:
/etc/apache2/sites-available/DOMAIN
Make sure you enabled your site. If you named your file DOMAIN, like the instructions, you should enable the site using:
a2ensite DOMAIN