Tag Info

New answers tagged

1

First ensure your session.save_path in your php.ini is set correctly then check directory permission sudo chmod 777 /var/lib/php/session/ Finally, clear everything (cache, cookies ..) at browser end, refresh and check If you make any change in php.ini, restart apache


2

First you have to install a newer Ruby version. You can do that using rbenv with ruby-build or RVM. I've found the former to be a little more simple to use and less intrusive. Simply install rbenv and ruby-build according to the documentation, then: rbenv install 2.2.0 Once you've installed it, set your global Ruby to 2.2.0 (or whatever the name of the ...


0

Actually I suspect you are getting a 501 Method not implemented in html format, just look further in the response You would get 400 Bad request if you would call an existing method with malformex syntax (try for example GET -) But since you call an invalid method, you get 501


0

You can find the information with Module mod_info On my server I got this Module Name: prefork.c Content handlers: none Configuration Phase Participation: none Request Phase Participation: none Module Directives: User - Effective user id for this server Group - Effective group id for this server ChrootDir - The directory to chroot(2) into ListenBacklog - ...


1

MaxClients is a server-wide keyword, so there should be a single instance of it per httpd proccess (usually a single instance per Linux server). Assuming typical Debian installation, you can just grep the values: grep -r -e MaxClients -e anothervalue -e anothervalue2 /etc/apache2/ | grep -v \#


0

Finally figured out a fix. I ran these 2 functions to recursively file the folder and file permissions of www and within. find /var/www -type d -exec chmod 755 {} \; find /var/www -type f -exec chmod 644 {} \; I read this page here: https://wiki.apache.org/httpd/13PermissionDenied and it basically explained and reminded me that permissions are inherited, ...


0

The router with external IP ( 87.245.x.x) must be in 10.0.0.x sub-net. RaspberryPi must have defualt gw configured with 10.0.0.x gateway Try to acces it ( http[s]://87.245.x.x) outside of your LAN. With your PC probably not work because port-forwarding/triggering is only listening for WAN packets


0

You're not telling much about your setup beyond assumed example IP's and server software so I'm making a bit of assumptions and guesses here. Make sure it actually is your ISP that is blocking the inbound port 80 as that can be done on modems/firewalls locally too. If you have, for example, ADSL modem serving you the connection it just might be the modem ...


0

I found this recommendation on Cipherli.st: SSLCipherSuite AES128+EECDH:AES128+EDH SSLProtocol All -SSLv2 -SSLv3 SSLHonorCipherOrder On Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains" Header always set X-Frame-Options DENY Header always set X-Content-Type-Options nosniff # Requires Apache >= 2.4 SSLCompression off ...


1

SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-SSLv3:-EXP:!kEDH ^^^^^^^^ Disabling SSLv3 cipher suites disables all cipher suites introduced with SSL3.0. Since these ciphers suites are also used with later SSL versions (TLS1.0+) and new cipher suites were mostly introduced with TLS1.2 ...


1

The following configuration is (or used to be) the best configuration according to SSLLabs: SSLProtocol +TLSv1.2 +TLSv1.1 +TLSv1 SSLCompression off SSLHonorCipherOrder on SSLCipherSuite ...


0

Goto the Apache installation directory and look for logs/errors.log in some older apache versions the startup log should be enabled. Sometimes apache writes in to the application log in windows event viewer


0

Only a half-answer, but it sounds like you have some "broken" redirection code running server-side. I would check very carefully in the "Network" pane of your favorite browser dev-tools, for instance, to verify the redirect is coming from the server. Assuming it is, it depends on the web server software, or other software you're running on your website. ...


-1

Open manualy the 443 port in your firewall . If you are using internet security software check this also


0

Veru first thing you need to check is the DocumentRoot for X.Y.Z.C. You can check it in the apache conf file. Then for eg. you find it to be /home/xyz/public_html/any_folder, you would need to place the sub-directory inside /home/xyz/public_html/any_folder. Then you can try checking http://x.y.z.c/A/. If this does not help, please check the apache error ...


0

I recommend this excellent how-to for the setup of a complete mail/groupware solution based on Horde Webmail. It ist written for Ubuntu 12.04 but works on 14.04 also: https://www.exratione.com/2012/05/a-mailserver-on-ubuntu-1204-postfix-dovecot-mysql/ See 19) for the Horde Webmail installation. Author: Reason Horde 5 is a groupware framework that ...


-1

You should always do a google search before asking, Google is always your friend. Heres a simple tutorial that shows u how to do it


1

I know this is an old question, but it doesn't look like it was ever answered, so for posterity's sake the answer is that 'setcap' needs to be applied to the Java binary. setcap 'cap_net_bind_service=+ep' /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java That appears to have done the trick for me, and my ApacheDS is now running on the standard service ports. ...


0

Is there some sort of sleep mode activated? I suppose you installed the desktop Ubuntu? Look at the energy settings! This machine should never go to sleep.


2

You can do the directory change by editing the Apache config file to specify a new directory and then signalling Apache to reload it's configuration (e.g. apachectl graceful or SIGHUP etc). This won't disrupt existing transactions. You can then clean up the old directories after allowing enough time for existing connections to be closed by the client ends.


1

I have myself never had issues with Apache listening on any IPv6 address, but this is what the apache docs say: On some platforms, such as Linux and Tru64, the only way to handle both IPv6 and IPv4 is to use mapped addresses. If you want Apache to handle IPv4 and IPv6 connections with a minimum of sockets, which requires using IPv4-mapped IPv6 addresses, ...


0

Michael's '660' answer didn't do it for me. The only way I was able to have enough permissions without getting an "unsafe permissions" warning was to do 700. No more, no less. Here are my commands (Ubuntu flavor) sudo -i cd /var/www/.gnupg chown -R www-data:www-data . chmod -R 700 . Also, in my case, the problem was that gnupg_addencryptkey is meant to ...


0

Do you have a firewall service, such as iptables, running on the Ubuntu system? If so, is it configured to allow port 80 connections from all external addresses rather than just from other computers on your LAN? On Linux systems, you can use tcpdump, which is a packet analyzer, aka "sniffer", for troubleshooting such problems. By running it on your ...


0

You may have to look for a "DMZ" option in your router settings. When I set up my web server I had to go to 192.168.0.1 to access my router (that may be different for you) and then navigate around until I found "DMZ HOST"... change that to your local I.P. for your web server. That was a problem I had. Hope that helps. My /etc/network/interfaces file ...


0

You can try experimenting with a service such a cloudflare.com to connect your domain name with your servers external ip address. The problem may be that you have a dynamic ip address that changes frequently, you can also look into a service at http://dyn.com/... or look into getting a cloud service somewhere and install ubuntu+apache using sftp to upload ...


0

I ended up figuring this out. It wasn't directly a firewall issue. I have two NICs, one for the LAN and another for the DMZ, to which the WAN IP is NAT'ed. The default route was over the LAN. When receiving packets from the internet, the server tried to respond via the default route on the LAN. Disconnecting from the LAN enabled the services to communicate ...


0

Ports are opened by processes, so your service needs to be configured to open the port in question on the interface/protocol required. In your case, you want to change the interface to 0.0.0.0 or your LAN IP, and the protocol to TCP4. you will have to do this in your webservers config file. without knowing your exact HTTP server, we can't tell more, but ...


0

OK. So it was as simple as actually adding the authentication. As I wanted to use LDAP auth (Active Directory based) I've ended up using the following... Note that your paths and passwords my vary ;-) /etc/gitweb.conf our $projectroot = "/home/git"; /etc/httpd/conf.vhosts/httpd-vhosts.conf <VirtualHost *:80> Include conf.vhosts/git.conf ...


0

The way I typically do this in my server setups is to create a group for the website, then use a combination of setgid and umask to make sure that files remain writable by the applications I want. Step by step guide below: 1/ Create a new group for your website: $ sudo groupadd web-grp 2/ Add the user the webserver runs as to the group: $ sudo gpasswd ...


0

It was an OS X Bug. As per Apple, there was a bug which update file permissions unexpectedly. After I updated my system to the latest version, I was able to edit the file permissions. Thanks for your time everyone!


1

To set apache to serve http on port 80 AND https on port 443 you have to create 2 virtual hosts: <VirtualHost *:80> ServerName your-domain.com DocumentRoot /var/www/ </VirtualHost> <VirtualHost *:443> DocumentRoot /var/www/ ServerName your-domain.com SSLEngine On SSLCertificateFile /path/to/server.crt ...


0

set on correct way in /etc/hosts. it should be 127.0.0.1 host.domain host set FQDM in clause ServerName Set reverse proxy in virtual host



Top 50 recent answers are included