I have been tasked with moving someone else's site and work from HP-UX to RedHat since our HP-UX system is going away. I have all the components on the RedHat server in place (apache, MySQL, Ruby, passenger) that were on the HP-UX system. I have apache UP on the Redhat system. I have exported the MySQL DB from HP-UX to the RedHat. I have copied all the directories that hold the app from one server to another.
My issue is trying to NOT get the Welcome to Apache screen on my redhat server but my app. I have the site listed in the site-enabled. I have the Include on the httpd.conf file to include all the sites. I have even tried Include /etc/httpd/sites-enabled/* as well as Include /etc/httpd/sites-enabled/. No difference.
I am not sure where else to go to look from old, old HP-UX Apache to the new, just installed RedHat system.
HP-UX 11.31 running Apache 2.2.9
RedHat 7.1 running Apache 2.4.6
What else do you need to know? Where else do I need to look?
Thanks!
Vince
Sorry can't post comment... have you tried to add
Include /etc/httpd/sites-enabled/*.conf
in the httpd.conf?
note the .conf at the end
Apparently there was a lot more required under the hood. One can not just move an older ruby/rails app to a new version. So instead of fighting this battle due to a versioning issue I am just going to close it out for now.
Thanks for all help.
Related
I want to use mod_proxy_wstunnel on my CentOS machine. So, I went through the documentation and it says that, this module is the part of Apache >= 2.4.5 but, I'm not able to use the Module and mod_proxy_wstunnel.so nowhere exists in my server.
I know, there are lots of related questions but those are all for older version of Apache.
Anyway, I'm using
Apache 2.4.18
CentOS 6.7 (Final)
You need to determine where yourour 2.4.18 build came from, because it's not contemporary / part of Centos 6.
Whoever built or packaged it it needs to perform the routine task if including an additional standard module.
I have the apache 2.2 installed in my RHEL 6.1 and I wanted to try Apache 2.4 before switching to it.
I downloaded the latest version and when I googled around for manual install, I found so many different documents. But I do not know whether my new installation will overwrite my existing apache installation..
I would like to know whether its possible to install Apache on the same maching without disturbing the existing apache service (including no changes to the system configs) ?? If yes, how can I do that?
I would like to install the latest apache with different service (say httpd2) and try it if things are working without any problems (anyway I would stop the other service when I try one).
Any suggestions or help links?
I suggest to look at this: http://developerblog.redhat.com/2014/10/01/using-apache-httpd-2-4-rhel6/
Apache 2.4 is part of Red Hat Software Collections, are Red Hat supported, and are part of the RHEL subscriptions. Look for this in the software collections channel.
Im trying to write a blog using PHP,I downloaded Php 5, Notepad++ And Apache Tomecat 7.
The problem is that I dont know where to save the .Php files I wrote so I can open them using the Apache Server.
Can anyone help please?
Thanks in advance.
You don't need Tomcat server that is for Java applications.
You're best bet is to install WAMP (on Windows) or LAMP (on Linux) then you have all the tools including MySQL to start coding. The Apache server comes preconfigured for use with PHP.
If you're coding on Windows then WAMP is a single install package.
There are plenty of tutorials to help you out, but essentially your Apache server will have a web root directory named "www" in it's configuration file. That's where you place all of your php and html files, etc.
[Edit]
Reading some of the comments, the recommendation for WAMP or XAMP for your local development. You can run all this comfortably on a laptop. When it comes to releasing your application to the world you will probably want to pick a Hosting service that supports PHP and will take care of all the server configuration for you. You'll just be copying up your PHP code files and creating the databse.
I am currently using mamp pro on osx for local development and I want to mirror my mosso cloud setup as much as possible. has anyone setup an ftp server with their local installation of mamp pro using sites i.e. local.mydev.com through apache?
hope everyone had a great holiday.
Not with MAMP Pro but I've done it with XAMPP. It comes with proftpd which is a good ftp server. If you can switch, you might want to give XAMPP a try.
heres how to do it: http://blog-en.mamp.info/2009/08/how-to-access-ftp-with-mamp.html
found the instructions on Mamps site
I am currently using XAMPP to test and Run my website on my Laptop.
Is there any (Good,Production Grade,Free,AMP based) server software?
Or Can I manually fix the security holes in XAMPP (like no password for 'root') to bring it up to production level?
Platform : Windows
Technologies: Apache, MySQL, PHP
Requirements: Hosting on Own server
Priveleges: Easy installation and configuration
You're best off just setting things up yourself. It's not that difficult, especially since there are scores and scores of guides around the web. Trying to bring XAMPP up to production quality would be just as much work. Here are some links:
Ubuntu LAMP
Debian LAMP
Fedora LAMP
Arch Linux LAMP
WAMP (Windows)
You can easily find more by doing a Google search.
Why not simply use official Apache? It's the most-used Production http server in the world.
Can you expand your question with details on your platform and requirements?
You would be better off configuring the full stack yourself. This ensures that you know what's running, and how it's configured. Even if you use a bundle (I highly recommend Zend Server if you do), you would need to run through the service configurations anyway. Never rely on anything out-of-box in a production environment.
If you do configure the stack yourself, Google is your friend, and there are plenty of resources here to help as well.