Ubuntu Servers :: Setup Reverse Proxyapache2 Drupal Clean Urls?

Apr 16, 2010

I have a scenario.A domain [URL].. then there are 4 private computers on which applications are hosted at port 80. So when some one from outside access the site it look [URL]..I added

[Code]...

View 1 Replies


ADVERTISEMENT

Server :: How To Setup Reverse Proxyapache2

Apr 16, 2010

I have a scenario. A domain [URL] then there are 4 private computers on which applications are hosted at port 80. So when some one from outside access the site it should look as [URL] in apache2.conf where [URL] is hosted I added

Code:

ProxyPass /site1 http://192.168.0.2
ProxyReversePass /site1 http://192.168.0.2

is it correct ? I am able to see [URL] but when some one logs in from internet to [URL] it is redirecting to www.mydomain.com and not taking to page where a successful login will go
in [URL]what should I check or do ?

View 14 Replies View Related

Ubuntu Servers :: Run Xampp - Can't Test Drupal Out?

Apr 2, 2010

I'm trying to run Xampp so that I can test Drupal out. I'm running Lucid Lynx Beta. I'm having a lot of trouble getting Xampp to run. I downloaded Xampp version 1.7.3a and installed it but when I type http://localhost in Firefox to see if Xampp is working it just says:

Quote:

This is the default web page for this server. The web server software is running but no content has been added, yet.

View 5 Replies View Related

Ubuntu Servers :: Drupal 6 Installation Using Synaptic?

Nov 29, 2010

I have installed Drupal 6 using synaptic and it shows as installed in synaptic but NOT in my Ubuntu software center but it is nowhere to be found.

View 4 Replies View Related

Ubuntu Servers :: OpenERP And Drupal Environment Don't Get Along

May 20, 2011

I had OpenERP completely installed and running just fine. All basic install instructions just worked out of the box on Ubuntu 11.04. Now, we also are going to develop our own web site. For that we needed a web development environment. Due to the small size of our home business, we have to do it all on one PC. So I went ahead and installed everything needed to get Drupal going, among which I had to install:

LAMP
Drupal
Memcached
Memcache
Postfix
Tomcat

and other packages.It all works like a charm, but now my openerp-web crashes when I start it with the following message:

Code:

[20/May/2011:16:17:19] ENGINE Bus STARTING
[20/May/2011:16:17:19] ENGINE Started monitor thread '_TimeoutMonitor'.
[20/May/2011:16:17:19] ENGINE Started monitor thread 'Autoreloader'.

[code]....

For those that do not know it: it is a module that interfaces with the OpenERP server software to allow people to access the system through their web browser, effectively eliminating the use to install a client on their PC. Very practical for our light weight laptop that we use in combination with my PC.

Normally one would connect by browsing to [URL] and automatically get connected with the OpenERP environment.Now, however, that does not work anymore with the above error as a result. Do you guys have any idea if I have to configure something in Apache to get this working again? Possibly with instructions, otherwise I'd get lost again in no time.

View 2 Replies View Related

Ubuntu Servers :: Using Iptables To Get Web Usage Statistics And Filter Urls?

Dec 16, 2010

I'm deploying new ubuntu server which should act as a router. I've already set up the NAT for local network, and also did some shaping for different groups of users, but now I'm facing new problem.I need to make a scheduled URL filter. I know it's not a problem with cron and simple script, but maybe there is existing way to do that? And also, I need to make statistics on web-traffic. I need to have list of URLs visited by users (source ip, destination url). Is it possible with iptables? or with any other software but without using proxy servers.

View 9 Replies View Related

Ubuntu Servers :: Drupal Install From Command Line?

Jul 1, 2011

Is it possible to complete a drupal installation and change the configuration from the comman line or a script. Id like to be able to automate the process of installing and configuring drupal. I should say that this is quite a bit beyond me. Ive not long started learning scripting.

View 2 Replies View Related

Ubuntu Servers :: Addaning Users To Drupal 7.4 With Drush?

Jul 13, 2011

I have user names / info for several thousand users I want to add to the website Im working on. Though this is a test server, I would like to have some way to automate adding users to my drupal site. So, I'm looking into drush. From the man page for drush, I dont see any way to add users. Once I figure out how to add 1 user, and configure thier default pages ect, I can write an Expect (TCL/Tk) script to handle the processing. But I need to know how to add users in drupal 7.4 via the terminal.

View 1 Replies View Related

Ubuntu Servers :: Drupal And Drush Installation With Scripts?

Sep 1, 2011

There are many ways of accomplishing this installation. What this tutorial attempts to do is to outline the most basic installation possible. It show you how to install Drupal from the command-line to speed up "development" of your website. [[EDIT]] REMOVED LAMP SERVER INSTALL PART OF TUTORIAL AS THERE ARE MUCH BETTER (MORE SECURE) TUTORIALS ON THIS TOPIC.

Install drush for using the command line on Drupal. Create some management scripts to manage Drupal via the command-line. Create some installation scripts to install drupal via the command-line. Make the scripts executable and install them in /usr/local/bin. Open a terminal and install Drupal with one command.

01. You have your LAMP server, Drupal MySQL database and databse user setup and ready to go! For development sites on my local desktop machine I use root as drupal's database user because it speeds up re-installation when necessary.

02. Install drush (DRUSH 4.4 AVAILABLE IN NATTY WITHOUT PPA)

#apt-get install drush

03. Create 3 folders to hold your drupal backups, scripts and libraries

#mkdir /home/user/drupal/backup
#mkdir /home/user/drupal/scripts
#mkdir /home/user/drupal/libraries
#cd /home/user/drupal/scripts

04. Create a script to manage web server permissions

#gedit drupal-siteperms && chmod +x drupal-siteperms
---------cut-and-paste----------
#! /bin/bash
cd /var/www

[code]...

View 2 Replies View Related

Fedora Servers :: Drupal PHP Scripts Not Executing?

Mar 20, 2011

I extracted the Drupal package (6.20) to /var/www/html and followed the provided install.txt file, but whenever I try to navigate to the site it simply comes up with the PHP script as plain text (it does automatically redirect me to install.php) rather than executing it. PhpMyAdmin works fine, as does a simple PHP "hello world" page I made, so I assume PHP isn't the problem. Now my question is: what could be causing this?

I can't tell for sure if the problem's with Drupal itself (I started over once with no luck) or some setting on my system, but since I don't have an account there I figured I'd ask here first.Running F14 x64, Apache, PHP and MySQL are all at latest versions available.

View 1 Replies View Related

Ubuntu Servers :: Drupal 6 Site Email Account Can't Be Verified

Apr 6, 2011

I've successfully set-up Drupal on my machine on a local network and have no problem accessing it with the virtual host names defined in /etc/hosts, but I don't have bind or any other DNS set-up.I've installed Postfix and can sent email with the mail command to unix account, and I can also read them with the mail command( from the command line).Now, my problem is with not being able to use the local Unix email accounts in drupal. Particularly, I would like to have one of the unix account receive email for the development site.I might like to also have various user on the drupal installation, and then test sending notifications to them.here is my /etc/postfix/main.cf# See /usr/share/postfix/main.cf.dist for a commented, more complete version

View 2 Replies View Related

Ubuntu :: Wget Failed Urls Output / Log The Urls That Have Failed?

Jan 22, 2010

I'm using wget to retrieve a long list of URLs, a small proportion of which fail, hence:

Code:
wget --input-file=urls.txt
Is there a way to log the urls that have failed? Unfortunatley wget does not output the current URL being processed (and then the status), so hard to see grepping the output helping.

Or should I use some alternative like curl, wmget?

View 1 Replies View Related

Server :: Setup Reverse Dns Check In Postfix ( CENTOS 5 )?

Nov 4, 2009

How can I setup "reverse dns check" option in Postfix ?

View 1 Replies View Related

General :: Setup A Machine Running Drupal CMS On A Debian Machine?

Aug 13, 2010

I'm know very little about Linux but decided to set up a machine running Drupal CMS on a Debian machine and it won't go. The folks at Drupal have tried to help but it seems the Debian OS won't do it's PHP thing for Drupal.

That means i'll have to start at the START I guess.

how to become a master of Linux if one is starting from ABC (I can add and subtract, that's what it feels like)

View 2 Replies View Related

Ubuntu :: Reverse Proxy Setup - Pass Multiple Domains Thruough One Server To Various Hosts On Local Network

Apr 13, 2011

I'm trying to pass multiple dpmains thru one ubuntu server to various hosts on my local network.

[url] should be sent to the /var/www folder on the local host.

[url] should be forwarded to an IIS box on my local network (owa.nunya.local)

[url] should be sent to another ubunto box on my local network (smtp.biznet.net)

I have tried placing VirtualHost entries in /etc/apache2/sites-available/default and [url]and [url] both work but [url] gets forwarded to the c:inetpub folder on the IIS box.

View 2 Replies View Related

Ubuntu Servers :: Apache2 Reverse Proxy ?

May 11, 2010

A first server with apache2 installed and configured as reverse proxy, that works great, with this version:

That works mostly, but fail with an oma (outlook mobile access) redirection

It works for all reverse sites hosted, but when we try to connect to oma using a nokia phone, it fails.

I can see in access.log that it hangs on FolderSync istance.

I've used wireshark to sniff packets, and in oma server I can see only three way handshaking coming...

My doubt is: when I'll upgrade working server, also it will not work anymore...

Configurations are the same (I've copied /etc/apache2 folder from running one to new one).

View 1 Replies View Related

Ubuntu Installation :: 10.04 Clean Install Stuck At Keyboard Setup?

Apr 30, 2010

HP Pavillion m9340f.

View 2 Replies View Related

Ubuntu Servers :: OpenSSH Reverse Lookup Using /etc/hosts Before Nameserver?

Apr 6, 2010

Like many others I'm running into some reverse lookup issues with SSH. Setup is as follows:

localnet setup
myserver - 192.168.0.x
myworkstation - 192.168.0.y

[Code].....

nslookup tests show that my reverse lookup is functioning correctly. However, if I use "myworkstation" to connect to myserver.mydomain.com using an external nameserver SSH says: "Address 84.162.xx.yy maps to myserver.mydomain.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!"

On myserver the /etc/hosts has the internal address for the server which seems the normal way to go to me. Changing this to the servers external address solves the issue.

Apparently a connection originating from myworkstation arrives from/with my external address, and when its reverse is checked by the server it apparently finds its own internal address for that name in /etc/hosts before doing a nameserver query and thus concludes that internaladdress <> externaladdress which gives the error.

Is there any way to have the server check external DNS before /etc/hosts? Another solution would probably be running an internal DNS, so myworkstation doesn't connect through the 'outside'.

View 1 Replies View Related

Ubuntu Servers :: Apache Mod_Proxy - Reverse Proxying And Mod_proxy_connect?

Aug 22, 2010

I am trying to create solution with Reverse Proxy, mod_proxy and mod_proxy_connect. I haven't really used this before so I am just curious if I am doing it right. I have attached what I am trying to do plus a copy of the config:Here is my current requirement

We are going to have 3 servers, right now our top level domain is[URL] We have an E-Commerce Server in Production Right now that already has an SSL Cert on it so right now the production server for E-Commerce is [URL] However, as we are growing, we don't want to use subdomains, so instead, we want to use the reverse proxying feature on apache. We are running mostly windows servers and IIS for the E-Commerce, CMS and the Wordpress Server. Assume the following -

Apache Proxy Server 10.100.10.60
E-Commerce Server 10.100.10.3 (www.ooolalashop.com)
Content Management Server 10.100.10.3 (cms.ooolalashop.com)
Word Press Blog Server 10.100.10.3 (blog.ooolalashop.com)

1) We need the following mapped

[URL] - maps to ecommerce server - since ssl cert is going to stay on the server, on the proxy we just create a static host that points to the e-commerce server

[URL]

All of these should be pretty easy to reverse proxy

2) We need to be able to proxy the SSL connection or have it pass through to the server on the back end with the domain [URL] right now we are getting some errors Here is the error I get with SSL [Sun Aug 22 01:51:30 2010] [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

Here is a copy of the config

<VirtualHost *:80>
ServerAdmin support@cometcomputing.com
ServerNamewww.ooolalashop.com
DocumentRoot/var/www/ooo

[code]....

View 1 Replies View Related

Ubuntu Servers :: Apache2 Reverse Proxy Load Balancing?

Feb 3, 2011

we have an ubuntu server (10.04 LTS) with apache2 (2.2.9) and mod_proxy + proxy_balancer enabled.Reverse proxy works greatly, but I can't get load balancing working. Apache connect always to first member.

My configuration is as follow:

ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Proxy balancer://test>

[Code]...

View 6 Replies View Related

Hardware :: RAID 1 - Setup More Than One Partition On Clean Drives?

Feb 24, 2011

I've finally found a couple of useful tutorials on setting up RAID in Linux. However, because this is new ground to me, I have a couple of basic questions which I think the tutorial writers gloss over because of their familiarity with the process. My questions are these:

1. Most tutorials speak about setting up only one partition on clean drives. Can I set up more than one (e.g. / and home) to be mirrored as two partitions?

2. When starting with two identical clean drives, do I need to set up my partitions identically on both drives or is it only the partitions that I want mirrored to the second drive?

View 3 Replies View Related

Fedora Servers :: Reverse The Proxy With Squid?

Mar 14, 2011

I have a reverse proxy set up with squid. I'm going to try and explain what it's doing and I apologize for it being confusing, I'll do the best I can to describe my problem. First, it's for our phone system. We run a ShoreTel Voip system. The owner has decided he wants me to setup MCM (Mobile Call Manager), which from what I can see is an under developed, and almost impossible to get help with Shoretel software. But he's convinced he needs it for his Iphone. It's supposed to, in a nutshell, turn his Iphone into his work phone with all the advantages and doodads that come with it. Apparently, "they have an app for that". On the server side, I need to setup a reverse proxy back into the network on our phone server. Simple enough, I did this with squid. I used the following lines:

Code:

http_port 80 accel defaultsite=172.17.137.7
cache_peer http://172.17.137.7 parent 80 0 no-query originserver name=myAccel
acl our_sites dstdomain http://172.17.137.7

[code]....

Code:

always_direct allow all It most definitely is allowing traffic back to the phone server, the problem is, it hands out my internal server address to the outside client. So for instance, if I connect to the outside routable address with my phone, it will immediately change the url to http://172.17.137.7 which is the inside nat address of my phone server. Which of course doesn't work, since I couldn't browse to that address from the outside. It does however work from the inside of the network, obviously because 172.17.137.7 is accessible from the inside.

View 4 Replies View Related

Networking :: Multiple Reverse SSH Tunnels For 100+ Servers?

Jul 26, 2011

I am looking at using reverse SSH tunnels to manage servers on client sites. I have played around with reverse tunnelling, and have it working on one server back to my middle man server from which I can SSH across from my own PC. All working fine. When I scale this up to 100+ servers reverse tunnelling in, usernames & passwords become a pain, so I'd prefer to use RSA keys instead. My question, finally you might say, is this, to successfully ssh from my PC to the remote server, do the RSA keys need to be on the middle man server as well, or is it just my PC and the remote server?

View 1 Replies View Related

Server :: Bind Reverse Zone : No Name With Reverse Lookup

Oct 12, 2009

I am using RHEL5. These are my config files:

Code:

options {
listen-on port 53 { 127.0.0.1; 192.168.14.54; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";

[code]....

View 3 Replies View Related

Ubuntu Servers :: Actual IP Not Logged When Requests Come Forwarded By Reverse Proxy

Feb 18, 2011

the apche2.conf and vhost file I gave the link are the machine on LAN when site is actually hosted.When some one from internet access the site then I expect a log of IP in access.log instead of which I see the IP of machine which is working as Reverse Proxy server for all such requests.What mistake did I do above.

View 4 Replies View Related

Ubuntu Servers :: Apache Reverse Proxy Redirecting To Eucalyptus Cloud Settings

May 26, 2010

I am having a few websites running in a Reverse Proxy scenario on Ubuntu Server 10.04. The configuration is like this:

Code:
|--------------192.168.1.1
| (site1.abc.com)
|
|--------------192.168.1.2
| (site2.abc.com)
|
|
|
|
|--------------192.168.1.3
| (site3.abc.com)
|
|
|
|
|--------------192.168.1.4
| (site4.abc.com)
(Public IP ) |
A-------------------|
(reverse proxy server) |
(192.168.1.25) |
|--------------192.168.1.5
| (site5.abc.com)
|

Except one all websites are running properly and being redirected to their respective domains.
Following is the configuration which I used for each site define on server A a vhost file which contains following

Code:
# ProxyPass / http://<Ip of Server>
# ProxyPassReverse / http://<Ip of Server>

So if I have 5 websites then I have 5 vhost file on the gateway in above diagram A and in each of those file as above root of site is redirected to internal IP. 4 of them are running properly. The fifth website is running on port 8080:/keyword. So in its vhost file on gateway I defined

Code:
# ProxyPass / http://<Ip of Server>:8080/keyword
# ProxyPassReverse / http://<Ip of Server>:8080/keyword
I can see on Lan http://<Ip of Server>:8080/keyword but when from internet I try to see:
http://site5.abc.com
I get redirected to a page is https://site5.abc.com:8443/ and it says

Code:
The webpage at https://site5.abc.com:8443/ might be temporarily down or it may have moved permanently to a new web address. The site5.abc.com has a requirement to be run at port 8080 internally and it is not a Ubuntu server.(Red Hat based server). While rest all are Ubuntu servers including gateway A.

View 1 Replies View Related

Ubuntu Servers :: Bind9 Views - Reverse Lookup Zone Doesn't Work ?

Apr 1, 2011

I'm at a loss to why my reverse lookup zone doesn't work for me.I've got two views. One internal and one external. My domain is isp2.datornatverk.se. Public IP: 130.240.133.81.

dig -x @8.8.8.8 130.240.133.81

gives me:

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2917
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

I've set it up so that the internal subnets gets the domains resolved to the internal IP-addresses. When querying from external addresses I will get public IP.My named.conf.local file:

Code:
acl internals {
127.0.0.0/8;[code]..........

I don't know whether the views has messed something up. It worked before I added the views.

View 3 Replies View Related

Server :: Setup Reverse Proxy With Proxy_mod To Port 443 On IIS Server

Aug 30, 2010

We currently have a SUSE Apache2 reverse proxy server setup to reverse proxy (proxy_mod) our GroupWise Web Access server. Our SUSE box is located at www.domain.com. Our GroupWise Web Access server is located internally and is called GWMail. We are in the process of migrating from Novell to Windows, so we will have an exchange server with OWA access running on a Windows Server 2008 IIS7 box. That one will be called EXMail internally. Right now when someone goes to www.domain.com/gw/webacc it goes to the GWMail internal server from the outside world. This was all set up by previous techs who used Linux more.

We would like to set up reverse proxy to be able to reverse proxy to the Exchange Server from the outside world. Unfortunately the snag we are running into is that Exchange needs to run on port 443, and forwarding to port 443 has been a little tricky. I've read elsewhere we need to implement a generic TCP proxy, such as IPtables. what we need to do to get our SUSU Apache2 server to be able to reverse proxy to our Exchange server on port 443. For the save of argument lets call our SUSE server ExtranetServer. Below is our default-configuration.conf file's configuration:

[Code]....

View 12 Replies View Related

Ubuntu Servers :: Setup New Remote Office - Setup Domain Trust Between Two Sites?

Mar 14, 2010

I ended up setting up a basic linux file server as a pdc for that office. Our main office is a windows 2000 ads domain. The two offices are connected with a vpn. I only have two users at the new location so I simply have the linux and samba usernames/passwords setup manually. I would like to know if it is possible to setup a domain trust between the two sites so I don't have to create a username/password in the remote site for every user at the main office to access. I did some searching but came up empty.

View 5 Replies View Related

Ubuntu Servers :: How To Make A Clean Uninstall/remove

Jan 21, 2010

1) Check if MySql is installed and running

2) How can I connect to create my db. (I want to do it from CLI not using an admin tool)

3) And if I have problems how can I make a clean uninstall/remove.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved