Install Apache And Run It On Specific Mentioned Ports Between 2110 To 2250
Jan 8, 2013
installing an apache server in Linux centos and run it on any port between 2110 to 2250. I dont have much idea about the installation.
I have logged in to SU and install apache by " yum install httpd"
now how to I host on port betwwen 2110 to 2050 forwarded ports.
View 2 Replies
ADVERTISEMENT
Jul 4, 2007
I'd like to know how I can use DNS to do something like make a CNAME record that points the same address to different addresses based on the port used.
mail.example.org on port 80 points to ghs.google.com
mail.example.org on port 995 points to pop.gmail.com
mail.example.org on port 587 poitns to smtp.gmail.com
View 3 Replies
View Related
May 20, 2015
I have question: How to redirect specific useragent on specific URLs to specific URLs in .htaccess [Question]
E.g.:
I want to redirect 301 with conditional:
Code:
useragent: Firefox
from my url1: domain[dot]com/old-url1/
from my url2: domain[dot]com/old-url2/
to
Code:
to new url1: in my url1: domain[dot]com/new-url1/
to new url2: in my url1: domain[dot]com/new-url2/
I create this in my .htaccess but not work
Code:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} googlebot [NC]
RewriteRule ^/?this-is-url/?$ domain[dot]com [L,R,NC]
View 1 Replies
View Related
Mar 2, 2008
i have one problem in cpanel take one error for restart httpd
xx.xxx.xxx.xx:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
View 2 Replies
View Related
Jun 16, 2014
I inherited an Apache HTTP instance from a colleague. That's why I'm not deep into that stuff. My current scenario is the following: We are running several backend instances which are published to the internet via Apache HTTP Server which is configured as Reverse Proxy (RP). In the past there was only one port and one protocol to handle by the Apache HTTP (RP).
Now I have the following need. There has to be published a Web Service from one instance using two Ports with two protocols (HTTP and HTTPs). I'm not sure how to solve that need.
A solution I tried already was to change and add the variable DEF_BACKEND_PORT to DEF_BACKEND_PORT_1 and DEF_BACKEND_PORT_2 but it didn't worked.
View 2 Replies
View Related
Oct 15, 2014
I have a SSL certificate for my website. I add the certificate to plesk and now I want use the certificate for diffrent ports.If I run only apache without plesk I need to add the ports to the apache conf where it listening too.At the moment apache listen only on port 844. But I want add 8443 too, how I do it in plesk?
View 4 Replies
View Related
Feb 19, 2014
I'm trying to get code to go in a .htaccess file that when a specific IP tries to get a specific page, he/she is redirected to another page.
I have tried many variants of this code below ...
Code:
RewriteEngine On
RewriteCond %{REMOTE_ADDR} ^12.345.678.90$
RewriteCond %{REQUEST_URI} /requested-page.html$
RewriteRule .* /redirect-to-this-page.html [R=301,L]
... and nothing works. My webserver gets hosed, and my otherwise working system gives me an error when I try to get a page from it. I am, by the way, using Mac 10.6.8, with Apache 2.2 on both server and client.
What will work??
View 6 Replies
View Related
Jan 18, 2014
I have Apache 2.2 installed on my Unix Server and have a couple of Application servers running each of them having similar Document Root.
For example, The URLS will look like below
https://my-test1.com/demo/index.html
https://my-prod1.com/demo/index.html
https://my-qa1.com/demo/index.html
The directory folder looks like
/myapp/my-test1/demo/index.html
/myapp/my-prod1/demo/index.html
/myapp/my-qa1/demo/index.html
I would like to restrict access to the above prod1 URL for a specific set of IP's. How can I achieve this.
View 1 Replies
View Related
Nov 1, 2013
configure Apache server to handle users requests using condition based on where he come from so i can redirect him . what i need if user came with from site start with xn--* redirect him to virtual host and if he came from any other link then go to another virtual host
View 2 Replies
View Related
Apr 17, 2014
I'm using Concrete5 CMS to create a website. This CMS creates/manages all its webpages in a mySQL database. Thus, there is no physical folder associated with each webpage, so I can't simply create an .htaccess file and place it in the directory tree in the right sub-folder to restrict access for that sub-folder and all folders it contains.
I have one .htaccess file located at the root level (e.g top-level folder for the website).
QUESTION 1: I need place in this top-level .htaccess file to (1) restrict access to only two specific IP addresses that I can specify (blocking access to all other IP addresses), and (2) specify the URL addresses that I wish to apply this rule to?
For example, let's say my website is [URL] ....
And I want to restrict access to the [URL] ....
and my .htaccess file is located at
/home/myname/public_html/conc/.htaccess
What code can do that?
View 1 Replies
View Related
Jun 21, 2014
I would like to deny access to .log
View 1 Replies
View Related
Mar 18, 2013
I don't know how to block a specific QUERY STRING url via .htaccess file, well actually I want to block this type of url :
test.php?q=RANDOMTEXT=&tl=The%20path%20ends
View 2 Replies
View Related
Feb 19, 2015
How do i redirect URL: example.com/page1 to example.com..i want to redirect any specific page of my site to homepage.
View 3 Replies
View Related
Jun 14, 2014
I want to select a specific file by its path using .htaccess to allow access to it.
View 1 Replies
View Related
Jun 25, 2013
This is the mod_rewrite rule I'm trying to create. I am very new to Apache admin. Here's the issue:
I have 3 vhosts running on my HTTPD Apache 2.2.24 server: Server1, Server2, Server3. Each vhost is connected to a Weblogic application server. We are trying to prevent access to the Example.portal page on each application server.
So the URLs I'm trying to rewrite are:
- Server1.domain.com/PortalWeb/Example.portal
- Server2.domain.com/PortalWeb/Example.portal
- Server3.domain.com/PortalWeb/Example.portal
So, I would like to redirect the above URLs back to the 'root' of the website. ie: server1.domain.com. Here is my rewrite rule:
RewriteRule ^(.*)/Example.portal$ http://$1 [NC]
So, the rule is matching correctly to URLs that contain Example.portal, however the back reference from (.*) does not seem to map to $1.
View 6 Replies
View Related
Jan 21, 2014
I have been trying to solve a big problem for the last 2 weeks with one of our servers.
The client using our system (web based w/ apache and php) is a contact center firm. They have about 120 operators, all connect to our websever with the same IP.
We have been suffering DoS attacks from some of these operators. This are simple, browser attacks , namely 5 or 10 operators will just hold F5 key and bombard the server with requests when they shouldnt.
We did manage to produce a php protection which will recognize the multiple requests and blacklist the user, but its "too late" because the request have already been sent and processed by the webserver.
We use the user ID in the system to control who should be blacklisted, so this is all dependent on our own authentication.
Ideally, we need something EXACTLY like mod_evasive, but for rejecting single requests instead of blocking the IP. Exemplifying : if a user calls the same url, 5 times, in a 3 second spawn, we will reject every next request for 30 seconds, but only the requests by that user.
If the webserver can make any use of it, the user id is stored in a cookie.
View 4 Replies
View Related
Mar 13, 2013
I am trying to setup a subdomain and/or virtual host to redirect to a specific port and path. I have setup my server with DDYNS through my domain name registar. Through the ddyns client I have set it to assign a subdomain of "outside.name.com" so that my server will have a easy name to get to instead of a dynamic ip address.
I have also setup on my registrars host records another subdomain of "inside.name.com" with a static IP address for internet network accessing to my server.My problem is that I have a service/program on my server that I need access to both internally and externally and this service can only be access through a port of 32400 and HTTP address of /web. (e.g. outside.name.com:32400/web or inside.name.com:32400/web)...
Is there a way that I can create a VirtualHost or Subdomain of "service.*.name.com" that redirects them to ":32400/web" of the hostname they're on? (e.g. service.outside.name.com automatically forwards or proxies--to keep it pretty--to service.outside.name.com:32400/web)
View 1 Replies
View Related
Apr 16, 2009
i need to install Deflate and Cache mods how can I manually add them to my httpd.conf file
RedHat Apache/2.2.11
View 1 Replies
View Related
Sep 15, 2007
I have a VPS with cPanel/WHM version 11,and since 2 days ago for now apaent reason I cant access the WHM/cPanel interface.I contacted my webhost and they suggested to reinstall the Apache.Could someone tell me the command to do so via SSH?
View 9 Replies
View Related
Jan 19, 2013
I have installed Apache 2.2.23 on RHEL 64 bit, but missed to enable ssl at time of ./config. Now i have enable SSL, how to install mod_ssl now?
View 8 Replies
View Related
Jan 4, 2008
how to install an SSL certificate on this server but really haven't a clue. I searched all over the internet and the ensim site with no luck. give me a little direction in my journey from hell.
View 10 Replies
View Related
Nov 6, 2007
I have installed mod_security2 with apache2.x with success
but when I try to restart apache I have this wrong Msg:
PHP Code:
httpd restarthttpd: Syntax error on line 34 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_security2.so into server: /usr/local/apache/modules/mod_security2.so: undefined symbol: msc_alert
PHP Code:
[root@secure modsecurity-apache_2.1.3]# ls -la /usr/local/apache/modules/mod_security2.so-rwxr-xr-x 1 root root 52541 Nov 6 16:26 /usr/local/apache/modules/mod_security2.so[root@secure modsecurity-apache_2.1.3]#
View 5 Replies
View Related
Mar 2, 2015
I have been running into the following fatal error issue while compiling apache2.4 version on Solaris. Config command ran successfully, however the make command fails with recording name conflict error for libapr-1.so.
ld: fatal: recording name conflict: file '/soft/oracle/product/apache24/httpd-2.4.12/srclib/apr/lib/libapr-1.so' and file '/soft/oracle/product/apache24/httpd-2.4.12/srclib/apr/.libs/libapr-1.so' provide identical dependency names: libapr-1.so.0 (possible multiple inclusion of the same file)
ld: fatal: file processing errors. No output written to .libs/httpd
*** Error code 2
make: Fatal error: Command failed for target `httpd'
Current working directory /soft/oracle/product/apache24/httpd-2.4.12
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive|sed s/-recursive//`;
list=' srclib os server modules support';
for i in $list; do
[code]....
View 3 Replies
View Related
Apr 25, 2013
I've just created a "droplet" (a VPS) from DigitalOcean with the latest version of Ubuntu Server and I have SSH access. While creating the droplet I needed to enter a hostname (a domain), which is registered at Godaddy, but I haven't touched its configuration yet.
I've installed the Webmin control panel through SSH and at the end of the installation I was told to access it through mydomain.com:10000. However, as expected, that didn't resolve in my browser (since probably the domain is not properly configured). I've tried with [the droplet's IP]:10000, but this didn't work either, the following message was displayed:
This web server is running in SSL mode. Try the URL mydomain.com:10000/ instead.
View 3 Replies
View Related
Apr 6, 2015
I'm about to install mod-pagespeed on my webserver. i followed a tutorial but then i got an error message.
View 4 Replies
View Related
Dec 6, 2013
I need to speed up my website to be faster because of search engines.
Now, how to install G-zip compression on my VPS.
CentOS
View 7 Replies
View Related
Nov 25, 2014
I am trying to deploy siteminder web agent on apache web server.They have a pre-req which says that while installing apache server, "install as a service, available for all users" "When an Apache-based web server is installed using a single user account, the Agent configuration cannot detect the Apache-based web server installation."
I don't see any msi installer anymore for apache web server, which had this option to select while installing.Now all i see is a zip file and i just have to unzip as part of installation. With this when I install httpd as a service, it is not detected by siteminder agent.So how can I set this "install as a service, available for all users" after installing from zip file?
View 1 Replies
View Related