New answers tagged

0

Well, it looks like upgrading Apache from 2.2 to 2.4 on WHM somehow removed suPHP. An answer from that question brought me on that direction.


0

You probably have Skype installed which automatically takes port 80 if there is no application already using it. Default port for Tomcat is 8080. A blank page when connecting to http://127.0.0.1 means that something is listening on it. You can check with netstat -anb | more (it should be listed on top). So you have two options: Stop skype, stop Tomcat, ...


1

I would consider Upgrading to Apache webserver latest version (2.4.18 at time of writing) Reviewing security-related settings Use of modules such as mod_security See Secure Your Apache With mod_security Another action that might be worth trying would be to change the MPM from prefork to worker in the hope that it might be less vulnerable to this ...


0

Its quite easy really. First undo the mods you did to this Listen 0.0.0.0:80 Listen [::0]:80 This say listen on any ip address and is as WAMPServer is delivered, your change was unnecessay. <Directory /> AllowOverride none Require all denied </Directory> The above section should never be changed, as its is this that says nothing ...


2

What you would need is the so-called loopback rule. This rule translates all the requests that you send at your public ip to a specific LAN IP when you try to connect to the public one through your private network. It is strange that you are not able to connect to your host from private ip, though. I would suggest to investigate if there is any AP ...


1

If you want to simply hide the "unsecure" automatic directory listing you can do two things: One would be to simply put a blank index.html file in the root directory (/var/www/) and when your IP is entered, it will simply display a blank white page. Another option you can do would be in your site configuration file inside the <VirtualHost> tag add ...


0

Your problem here is that you're using git as a deployment tool, which is isn't. Git is for version control, and that's it. When you want to deploy your code somewhere, you should be using either a script or a pre-built product to check out the right branch, copy relevant files, compile anything that might need compiling, and, in your case, set permissions. ...


0

For Apache >= 2.4 the FilterProvider syntax was changed. I was able to get the following to work: FilterProvider CUSTOMFILTER SUBSTITUTE "%{CONTENT_TYPE} =~ m|^text/html|"


0

The most likely explanation here is that you've enabled remote connections to your Fiddler and your computer/network isn't properly protected by a firewall. As a consequence, bad guys on the networks have noticed that you're running an open proxy and they're misusing that open-proxy to mask the source of their traffic. You should untick the "Allow remote ...


0

The found the solution thanks to JakeGould. Thank you so much, you saved my day! It was rather simple, it was the permission issue. As suggested, I checked /var/log/apache2/qna_error_log, and it said IOError: [Errno 13] Permission denied: '/var/www/qna/log/askbot.log' So I changed permission of /var/www/qna/log by using sudo chmod -R 777 /var/www/ (I don't ...


0

You need to add a DirectoryIndex to your node. See https://httpd.apache.org/docs/2.4/mod/mod_dir.html#directoryindex ninja edit: I didnt see the numerous comments already detailing this


0

Here are your configs; reformatted my me for readability: <VirtualHost 52.79.**.**:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/qna Alias /m/ /var/www/qna/static/ Alias /upfiles/ /var/www/qna/askbot/upfiles/ <DirectoryMatch “/var/www/qna/askbot/skins/([^/]+)/media”> Require all granted ...


0

It is possible to have a seperate config file for just the ownCloud website - Apache will read any files which have been added in the main config using the "Include" directive - which typically will cover all files with a ".load" or ".conf" Enable .htaccess in the Directory container in the appropriate vhost container for better security then having it for ...


0

If you are just using Apache for owncloud, then you can AllowOverride globally. Frankly, in most cases, you'd want this enabled for all sites anyway, as using .htaccess for friendly urls is very common. Yes, the correct place to put this for global enablement is in 000-default.conf. Yes, this is "just a symbolic link" but that is just the way Debian ...


0

I solved it! Thanks to Moonpoint I realised the problem was in the Port-Forwarding. So I took another look and noticed that for the port 80-rule, the "WAN Interface" was set to "ADSL" (default). I don't know what it means, so I never changed it. I tried different options and setting it to "ETHWAN" solved the issue. I can now access the webpage publicly and ...


0

Press ⊞ Win + R Type "services.msc" > OK Find "wampapache" & "wampmysqld", right click on it/them > Start/Stop/Restart


0

When you state you tried turning off the iptables firewall, but were unsuccessful, do you mean you disabled the iptables firewall, but still couldn't connect to the web server from an external IP address or do you mean you were unable to disable the host-based iptables firewall? Check the Apache access and error logs for your website to see if any attempt to ...


1

for those of you who comes here, it was the masquerading. firewall-cmd --zone=public --remove-masquerade and it works. Zone public because the configuration described in the question wasn't the active one, and both bond0 and both1 were added to zone public


2

So I found a differential. Question is: What does this mean, and how does one correct it? Expanding on what user @Dirk noted, SELinux is a system which relies on "contexts" to increase the security of your system, a context describes what kind of actions can be performed on a certain file or directory or what can a file be used for. In this case, ...


0

This has been fixed. The problem was two fold. 1: The version and licensing of Weblogic that we have for some reason only allows for up to Apache 2.2.31 x86 version. 2: There is a weblogic module that needs to be copied from the existing directory to the new directory. Also, something I found interesting, cronolog doesn't exist any more in 2.2.31, it's ...


0

I'm using CentOS 7 + Apache, the only command that resolved my issue is it (because I tried chown+chmod before): sudo setenforce 0 #disable SELinux And then, I can download the file (in my case, anyfile.zip), but, it can open the doors for attackers write and execute code.


0

If you have your modules loading automatically from the mods-enabled directory then the offending line is likely in this section of your conf file: # Include module configuration: IncludeOptional mods-enabled/*.load IncludeOptional mods-enabled/*.conf In this case you will need to go to your mods-enabled directory (/etc/apache2/mods-enabled by default) ...


-1

Probably when you restart wamp services. Apache service is not started may be because of port conflict. When restarting check either one of these [Skype/teamviewer] is not running. You can check Windows Event Viewer logs also to find the exact problem.


1

Even though the cron solution is certainly the best option, you can also use some Systemd directives to get almost the same result. As root, create the /etc/systemd/system/httpd.service.d directory: mkdir /etc/systemd/system/httpd.service.d cd /etc/systemd/system/httpd.service.d Create the restart.conf file and paste the following lines into it: ...


1

You could run your script via a cronjob. For this, add this to your crontab-file: 59 23 * * * /bin/sysemctl restart httpd.service This will execute /bin/sysemctl restart httpd.service one time at 23:59 every day of every week of every month.


1

If you have cron installed (you should have it anyway), do crontab -e and put the command: minute hour day month dayofweek command # this part is provided by crontab, just for reference. 0 0 * * * /bin/systemctl restart httpd.service


0

The Right Way (tm) Use name-based SiteURL in WordPress (reconfigure vhost in Apache, if it's needed) to something like SiteURL = myblog Assign for the same hostname myblog different IP-addresses in hosts-file on both systems


0

It turns out I had enabled ecryptfs when installing Ubuntu. This meant that until I logged in, the userdir was encrypted and inaccessible to the www-data user. After disabling ecryptfs, everything worked perfectly. I was even able to reset the group ownership of my directories / files to my own user.


2

For me it was the chrome extensions "Facebook Album Downloader". Deactivate and it is gone. I reported it on the Chrome store. You should to the same. I found it by deactivating all Chrome extensions and then re-activating them one by one until the problem shows up.


2

I have the same problem as well. Seems like a trojan hidden in one of the Chrome extension. Just don't know which one. I have found this webpage on the same topic: http://www.eenyhelp.com/answer/bug-811371-chromium-unwanted-redirection-chromium-help-215926861.html Quick and dirty way to block it: block access to www.free-merchants.com (either on the ...


0

I had to uninstall skype and reinstall xampp and then that worked


0

Not an actual solution for the Bridged Network. I used Host-only Adapter instead and it did the job for me. Now I have access to the Apache web server through web browser (HTTP) and also the guest's shared folder (full permission). Instead of 192.168.1.7, now it's 192.168.56.101. I'd still love to hear a solution or explanation for the Bridged Network.


0

This is quite hard to tell: Keyword Firewall 2 years ago I decided to restrict Apache from remote access and I totally forgot it because I normally never get in trouble with my settings I made once. So answering my questions: These Apache settings are correct. n/a Check the firewall settings!


1

You are not explicitly disabling the RC4 suite, and therefore are implicitly allowing it. You can add :!RC4 to the end, but your allowed cipher suites are not best practice, so I suggest using the line below instead: SSLCipherSuite ...



Top 50 recent answers are included