Apache Set A Folder On A Different Port
May 16, 2008
How can I set a certain folder under my www folder to use a non standard port, 6767 instead of 80. I am running apache 2.
I tried putting the following in my httpd.conf with no luck, each time when I attemped to restart apache I got a fatal error:
<Directory "/var/www/html/crm">
Listen 6767
</Directory>
<Directory "/var/www/html/crm">
Port 6767
</Directory>
<Directory "/var/www/html/crm">
Bind 192.168.0.200 6767
</Directory>
View 3 Replies
ADVERTISEMENT
Aug 8, 2013
I'm runnung a server with Apache2 (Apache/2.2.16 (Debian 6.0))
I would like Apache2 listen on port 8080 for IPv4 and on port 80 for IPv6.
This is what I have now:
/etc/apache2/ports.conf
View 4 Replies
View Related
Oct 9, 2012
Suddenly on a particular website (possibly following an easyapache php minor version update) if I specify a folder rather than a specific file I get a 503 response.
If I do the same on https it's ok. But http always gets a 503.
If I specify a file it's fine, but the folder always hits a 503.
I have removed the htaccess file and php.ini to rule that out and indeed they weren't factors - it seems like it goes wrong before reading the htaccess file.
View 3 Replies
View Related
Aug 18, 2007
I want to set the Timeout value bigger for a specific folder.
View 5 Replies
View Related
Jan 13, 2013
I'm hosting most of my websites from my C drive where apache is installed.
However I want one website to be loaded from my D drive so I setup the following virtual host:
<Directory "D:hac2">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<VirtualHost 46.249.47.12:80>
ServerName hac2.elitegameservers.net
DocumentRoot "D:hac2"
</VirtualHost>
But I keep getting 403 errors, anyway of fixing this?
View 6 Replies
View Related
Dec 24, 2008
I installed apache, and it seems to be running fine.
I can view the website when I do domain.com:81
However when I solely type domain.com I can't view the page. Why is that, and how can I fix this?
View 1 Replies
View Related
Nov 22, 2013
I'm trying to compile Apache 2.4 on a MAC OS X 10.9 with XCode installed and it keeps telling me the gcc in it cannot create executables, where I can find documentation about how to do this?
I tried the MAMP apps, but I don't want that, I want to have the MAC to act as a server without paying the $19.99 Apple asks for the server software.
View 2 Replies
View Related
Nov 28, 2006
I searched URL....but I still could not get this to work.I need a redirect to a certain folder when people visit the root directory of my site.
View 7 Replies
View Related
Jul 29, 2014
I use Webmin (1.69) to work on my development environment. I am using Ubuntu Desktop 14.04 right now. I am not exactly an Ubuntu newbie but I would not call myself an expert either.
I created a virtual host (newdomain.local) with webmin. I filled in all the fields and saved the new VH definition. I added newdomain.local to my hosts file with an ip address of 127.0.0.1 and restarted apache.
When I go to [URL] ...., it is not taking me to the VH's home page but to the default home page.
Why this might be happening?
View 2 Replies
View Related
Feb 9, 2015
I want to grant different access rights for certain folders to a large group of users of my apache WebDav server.There are access control lists for each folder on the server. Based on the rights in the access control lists the users should only have access to the folders listed in the ACL lists.In addition to that some users have only "read", some also "write" rights for the folders.How can I set up the described access rights on my WebDav server?
View 1 Replies
View Related
Jul 2, 2007
my apache listen at port 78, however, when I modify listen 80 and port 80 to listen 78 and port 78, restart apache, it does not work. I checked the port 78, nothing but apache there. even I modify all :80 to :78 in the httpd.conf, still does not work. there only one site on the server. there is nothing on error log file.
my system is x86_64 cento 4.4 and apache is 1.3.37.
View 5 Replies
View Related
Feb 7, 2013
an Apache 2.2 server suddenly quit accepting traffic on port 80. The error message was "An attempt was made to access a socket in a way forbidden by its access permissions could not bind to address 0.0.0.0:80 ".It took a while, but the server is now back up.
View 2 Replies
View Related
Jan 4, 2007
I am running apache 2.0 on CentOS 4.4 with PHP5 and mysql 5. I am wondering why the following is happening with apache:
if I goto to [url]
This does not work, it times out. But if I goto:
[url]
With the trailing slash it works. That is annoying, anyway to take care of that so it works with or without the trailing slash? Below is my httpd.conf folder and virtual host settings:
---------------------------------------------------------------------------------------------------------------
<VirtualHost *>
ServerAdmin myemail@mydomain.com
DirectoryIndex index.php index.html index.htm index.shtml
<Directory "/var/www/html/">
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC SymLinksIfOwnerMatch
AllowOverride none
</Directory>
</VirtualHost>
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
<Directory "/">
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks
AllowOverride None
Allow from all
Order allow,deny
</Directory>
<Directory "/var/www/icons">
Options Indexes MultiViews
AllowOverride None
Allow from all
Order allow,deny
</Directory>
<Directory "/var/www/cgi-bin">
Options ExecCGI
AllowOverride None
Allow from all
Order allow,deny
</Directory>
View 13 Replies
View Related
Sep 14, 2013
Recently I moved my WordPress website to another server, After moving my site I see that my all files permission set to 664, for that I getting many error, now I want change all files permission 644, but problem is I have many subdomain with this site, is there any way to make change all files permission to 644 with SSH or any other way?
View 1 Replies
View Related
May 20, 2015
I use url http://myurl:8020/ERC to access application and I am able to. But I dont want to use port number in the URL.Would like to access application using http://myurl/ERC . I referred to one of the post and added below entries to httpd.conf file.
ProxyRequests Off
ProxyPass /ERC http://myurl:8020/ERC
ProxyPassReverse /ERC http://myurl:8020/ERC
But I am still not able to access http://myurl/ERC.LoadModule entries are enabled and I have restarted apache.
View 3 Replies
View Related
Apr 12, 2007
any good rule to limit Apache (port 80) connections from 1 IP to 15 with iptables/csf?
And total connections to the box to 100?
View 6 Replies
View Related
Dec 30, 2008
How do I prevent apache from binding to port 443? HTTPS support is not needed so only want apache to bind to port 80
My /etc/apache/httpd.conf has port 80, but no mention of 443 anywhere, yet netstat reveals it binding to port 443
I have apache 1.3.29.0.2-5 on Debian Linux (knoppix)
View 10 Replies
View Related
Oct 29, 2014
I am setting up apache 2.4 as a service locally through localhost on a windows 2008 R2 standard server. I have set up SSL listening on port 443 and works correctly, however I am having trouble figuring out how to get apache to authenticate my CAC card.
I have downloaded the DOD certs and put them into various types of files including pem, base 64, der etc and I have yet to figure out a way to get the client certificates validated.
I have left out the information about the SSLCertificateChainFile, SSLCACertificateFile and SSLCARevocationPath as I am sure this must be where my problem is.
Is it possible to get this done through localhost. Here is the error I am getting in the error log.
[Wed Oct 29 11:37:05.675491 2014] [ssl:error] [pid xxxx:tid xxx] [client 127.0.0.1:59282] AH02039: Certificate Verification: Error (20): unable to get local issuer certificate
I am using a self created self signed server ceritficate. Here are some details from my httpd-ssl.conf file:
Code:
<VirtualHost _default_:443>
DocumentRoot "${SRVROOT}/htdocs"
ServerName localhost:443
ServerAdmin admin@example.com
ErrorLog "${SRVROOT}/logs/jtdi.log"
TransferLog "${SRVROOT}/logs/jtdi-Transfer.log"
[Code] ....
View 1 Replies
View Related
Apr 4, 2014
Apache seems to have the port blocked. I removed my thumbdrive earlier after using XAMPP on it successfully that had it on it and went somewhere then came back & well all the sudden it will not work. I am getting the below error messages after I push the start button.
View 1 Replies
View Related
Nov 4, 2013
i m using xampp on window. how to hide port on url?
View 5 Replies
View Related
Jan 30, 2014
Have to type the full address with port number....
View 4 Replies
View Related
Jan 20, 2014
Problem detected!
19:58:32 [Apache] Port 80 in use by "Unable to open process" with PID 4!
19:58:32 [Apache] Apache WILL NOT start without the configured ports free!
19:58:32 [Apache] You need to uninstall/disable/reconfigure the blocking application
19:58:32 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
19:58:32 [Apache] Attempting to start Apache app...
19:58:32 [Apache] Status change detected: running
19:58:33 [Apache] Status change detected: stopped
19:58:33 [Apache] Error: Apache shutdown unexpectedly.
19:58:33 [Apache] This may be due to a blocked port, missing dependencies,
19:58:33 [Apache] improper privileges, a crash, or a shutdown by another method.
19:58:33 [Apache] Press the Logs button to view error logs and check
19:58:33 [Apache] the Windows Event Viewer for more clues
19:58:33 [Apache] copy and post this
19:58:33 [Apache] entire log window on the forums
that is my error message I have changed skype's port from using port 80 and also uninstalled IIS from microsoft I have only installed xampp on its own without wamp server so that they dont conflict.
View 3 Replies
View Related
May 31, 2014
I had setup an apache home server. here the 80, 8080 ports are blocked . So I made my apache to listen to 4040 port. but the problem now is ,i use cloudflare service to point my domains to my server. now its showing error when i give my ip because the port is not 80. i tried putting dns host point to xxx.xx.xxx.xx:4040 in cloudflare but shows invalid ip ...
View 1 Replies
View Related
Apr 20, 2013
OS: RHEL 6.4
SELinux: permissive mode
Apache: 2.2, mod_fcgid, mod_suxec, mod_ssl enabled
Common Name: www.user.dept.university.edu
(Note:user names, accounts, organizations etc. sanitized)
why Apache will serve PHP-based web pages over port 80 but not over 443. Here is the virtual host block excerpt from httpd.conf:
Code:
<VirtualHost *:80>
ServerName user.dept.univsersity.edu
ServerAlias user
DocumentRoot /home/user/public_html/subdirectory
<IfModule mod_fcgid.c>
[Code] .....
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
Mar 12, 2013
I am trying to setup a subdomain and/or virtual host to redirect to a specific port and path. I am, however, having great difficulties doing this.
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)
This is annoying for others to type out and I am just wanting to make it look pretty. 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
Feb 19, 2008
Currently I am using Linux + cPAnel and using the port 25 for email sevrer. Currently we facing 1 problem is, some user's ISP is not support port. May I know how can I add additional port into server and allow users to send mail by different port?
View 1 Replies
View Related