Tag Info

New answers tagged

-1

Just Restart Your Apache WebServer, do the following command in terminal(Ctrl+Alt+T) sudo service apache2 restart and see the status of Apache Server is it running or not sudo service apache2 status or Try to Open the localhost page in another browser.


0

It sounds a bit like some apache binaries might be missing. sudo apt-get purge apache2* that will remove all apache2 packages, then sudo apt-get install apache2 As long as there are no errors through any of that then that should be fine. If you want to check apache is listening sudo netstat -anop | grep apache You should see apache listening on ...


0

It is very simple to setup all you need to do is run the command: sudo apt-get install apache2 mysql-server libapache2-mod-auth-mysql php5-mysql Once it is done open your browser and type localost in the address bar. Hope this helps


0

I have now managed to fix this issue after a few hours of looking through config files. It turned out that I had this code in phpmyadmin.conf in /etc/apache2/conf-enabled/: <IfModule mod_php5.c> php_admin_flag engine on php_admin_value display_errors on php_admin_value error_reporting 30711 php_admin_flag ini_set on </IfModule> ...


1

I wrote a python script that will automate the apache virtual host creation steps ... this video explains how, download/code on GitHub


1

Try sudo apt-get install sqlite3. It is different from sqlite.


0

In order for your proxy server to be able to pass your request to and the response back from the jenkins server on 8080, it'll have to be available, at least to itself, at jenkins_box:8080. Restricting access: From the wider internet If both the jenkins instance and the proxy server are running on the same machine (as in your case), all you need to do to ...


0

Case matters. Try logging in as Valentin instead of valentin.


1

Error message tells that you can add -fPIC compiler flag. http://jaytaylor.com/blog/2010/10/06/howto-fix-fpic-errors/ On this page you can find semi-good solution - enable PIC to whole PHP. export CC=”gcc -fPIC” export CXX=”g++ -fPIC” But I don't know what disadvantages this solution has.


1

Are you sure that www-data needs to do chroot? Please explain why. There is no way to get /bin/chown to restrict UIDs. You will have to write a wrapper around /bin/chown that does the input validation, then calls the real /bin/chroot, then allow www-data access only to the wrapper.


0

Take a look at this site: freedns.afraid.org it supports open DNS and can update custom domains. I use it for personal websites etc works a treat. If you need any help setting it up if be more than happy to help :)


1

Router WAN IP Address 10.30.195.241 means your provider NAT'ed you (it's not legal in some countries to call such service "Internet access" by the way): supplied you internet access without global IP address through it's NAT router ( 10.30.195.241 - is local IP address not visible from Internet). Some possible ways Pay your ISP for global (and preferbly ...


1

Short answer: You can't Long answer: The only way that I know is using a dynamic dns server, but AFAIK there is no free dynamic dns that will work with a custom domain name. And the solution is so cheese that paying for a fixed IP is much more reasonable. Normal DNS will never work, as usually your IP will change faster than dns propagation. In any case ...


0

in your appache conf file, you do not declare access to /UI, you need to add a Vblock such as : <Directory "/UI"> AllowOverride None Require all granted </Directory>


0

I noticed the s in the permission setting. It did take me a while to finally figure it out. It is actually simple. sudo adduser myUserName www-data This function add you to be part of www-data group (so that way you CAN write and edit without the lock). After that function, you will want to standardize everything in the html folder in order for new ...


1

Folder /var/www/html/Panel4/uploads/microsite has a SGID enabled. The microsite directory, its parent directory and all its sub-directories have SGID enabled and which can be identified with the s bit set in group part of the permission drwxr-sr-x. As SGID is set any folder that is created within it will have group-id set to that of the parent directory. ...


2

Maybe is better to enable firewall? UFW can allow access from host/network and deny for the rest of the world. sudo ufw enable sudo ufw allow from xxx.xxx.xxx.xxx/zz to any port 80 proto tcp xxx.xxx.xxx.xxx - represent your local network, zz reprezent network mask You can list rules with command sudo ufw status or sudo ufw status numbered


2

I found it! sudo nano /etc/apache2/apache2.conf Scroll down till <Directory /var/www/> Add these two lines before </Directory> Deny from all Allow from 127.0.0.1 This will deny access from any IP except 127.0.0.1, which is your own machine. If your network's IP is in the form of 192.168.x.x then allowing access from 192.168. will allow ...


0

I managed to install it running the following command. sudo apt-get install apache2=2.2.22-1ubuntu1.7 apache2.2-common=2.2.22-1ubuntu1.7 apache2.2-bin=2.2.22-1ubuntu1.7 apache2-mpm-worker=2.2.22-1ubuntu1.7 Thanks to this question here


0

Most Internet Service Providers in Europe close ports 80 and 25 for dynamic IP addresses as they want you to pay extra for a fixed IP... So VPN, Telnet, ... work, but the actual web and mail servers don't. Contact your ISP and ask them if this is the case. If not, leave a comment.


0

Hopefully this helps solve your problem and explain whats going on, to help you in the future too. When you go into the wordpress "dashboard" and upload files - the "user" that is performing the changes to the filesystem iswww-data (i.e. libapache2-mod-php5 via apache webserver). Therefore in order to make changes in wp-content/uploads/2015/01., www-data ...


0

Is the wp-content directory really where you think it is? I notice that the article in question created a directory in /var/www/html/ but wordpress will thing it will be under the wordpress directory that you extracted from the compressed tarfile. In my case it was /var/www/html/wordpress/wp-content which was a softlink to another directory. Once I had ...


0

You can postpone apache to start by renaming the symlinks which were created byupdate-rc.d apache2 defaults - "defaults" mean that such symlinks were created for default runlevels set in /etc/init.d/apache2, so in /etc/rc2.d, /etc/rc3.d, /etc/rc4.d, /etc/rc5.d directories.. In each above directory, you will see something like "S91apache2 -> ...


0

<VirtualHost *:80> ServerName extracurricular.com #serverAlias www.extracurricular.com ServerAdmin lleeoo66@extracurricular.com DocumentRoot /srv/www/extracurricular.com <Directory "/srv/www/extracurricular.com"> Options FollowSymLinks MultiViews AllowOverride All Order allow,deny ...


1

I am missing the Options Indexes FollowSymLinks Includes ExecCGI in your myapp.conf. As of Apache-2.4 mod_authz_host is used and Require (example Require all granted) should be used. By the way... this: You don't have permission to access / on this server. I remember from the apache as the default when using httpd.conf. Are you sure the ...


2

helpdesk would be a DNS name in this case. In order for other users on your network to resolve that DNS name to your IP, there are several choices: Using /etc/hosts If you have few users on your network, and your IP never changes, you can add the following line to each machine's /etc/hosts file: 192.168.199.25 helpdesk Using a DNS server If you are ...


0

The following works to give access to multiple users: First of all update your phpmyadmin version for Ubuntu: sudo nano /etc/apt/source.list ## Untrusted PPA phpMyAdmin deb http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu trusty main deb-src http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu trusty main sudo apt-get update sudo apt-get install phpmyadmin ...


0

you can also install this by manual process. just download file to your web root folder.(/var/www/phpmyadmin) for more Click Here Download from here


1

I find it rather weird to suggest to disable the mpm-itk as there might be a reason why it is actually used. We use mpm-itk (version 2.4.7-02) with apache 2.4 and it works perfectly. The only thing to consider here are the new configuration directives LimitUIDRange and LimitGIDRange These directives define, which UIDs and GIDs mpm-itk can use (via ...


0

You need to exchange a single line in the file apache2.conf. This line can be found in the tag that the user has defined. This will fix it (keep in mind I am using Apache 2.4): Require user dorian


0

I needed to add my NS to the NetworkManager as well. sudo nano /etc/NetworkManager/system-connections/Wired\ Connection\ 1 To the bottom of the file, add this line: dns=<your NS' ip address>;


0

I had the same problem and It was due to the JQuery version. ElFinder seems to have issue with Jquery 1.8.x. It works for me with 1.7.1 version of JQuery. Hope it can help.


0

It would be good to rotate the log regularly if necessary (look for logrotate configuration). For now - I'd recommend emptying the file rather then removing it (it can be still open for writing; removing such file will lead to some "inconsistencies" in the system - while file will be removed from the filesystem, the access will still be allocated for the ...


0

From the link: Session Management PHP's default session facilities are considered safe, the generated PHPSessionID is random enough, but the storage is not necessarily safe: Session files are stored in temp (/tmp) folder and are world writable unless suPHP installed, so any LFI or other leak might end-up manipulating them. Same applies ...


1

The Apache log seems to suggest that the redirect is done at application level. Some applications have a siteurl option configured at install time, and if you visit the application from another URL, they redirect you to the siteurl. So, have a look at your application configurations and eventually change that option to match the external IP.


0

sudo adduser username sudo adduser username www-data First command creates user and will create a home directory for user and add them to group (whatever username is), second gives group access to www-data to said user. If user already exists, just use the second command. If user is logged in at time they will need to log out and in again for change ...


0

Ubuntu 14.04 comes with mod_wsgi 3.4. According to https://code.djangoproject.com/ticket/22948#comment:2 we need to use mod_wsgi version 4.2+ for Python 3.4. The best way to install mod_wsgi to the latest version is to get it with pip (can be in virtualenv) and then install its module to apache system-wide. In my case I use virtualenv set in /venv_path. 1) ...


1

Change connection type in Networks setting of virtualbox to bridge mode, and you can access it by ip of the client os.


0

Locate the following settings in php.ini upload_max_filesize = post_max_size = max_execution_time = And set them as upload_max_filesize = 64M post_max_size = 64M max_execution_time = 300 Once the change is made sudo service apache2 restart Edit: You may want to revert all your changes, like in .htaccess and that php file. I never used ...


0

Try: sudo chmod -R 0644 /var/www (if your apache configuration is like that) Note: The last time I did this is about 1 year ago and I may have changed but I´m pretty sure that the options must be written before the mode.


1

I was making a basic error. As I said in the comment above, I had left the default network settings in place even after installing Apache and Bind. There was no way that the clients could resolve the local hostnames to the relevant IP addresses. To fix this, I installed Bind on my Ubuntu server and then added my server to the list of DNS servers my router ...


1

If you try your cipher string with openssl ciphers -V cipher-string until you get similar errors. ... ssl on my 12.04 VPS 12.04 ships with OpenSSL 1.0.1 SSLCipherSuite ...+TLSv1:+TLSv1.1:+TLSv1.2:... +TLSv1.1:+TLSv1.2 is not supported in 1.0.1 yet. If you remove these settings everything should succeed. Apart from that I question the quality of ...


0

Core problem was that tomcat listens to ipv6 tcp port. I tried to get to my page via ipv4 adress. So i created setenc.sh in /usr/share/tomcat7/bin with single line JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true" and restarted tomcat via sudo bash tomcat7 restart in /etc/init.d Then checked my port again ...


0

I had the same issue. Changing the privileges of my .htaccess file to 755 seemed to work.


1

As a sudo apt-get install linux-generic gives an enormous amount of errors, I would do the following: Take a full data back-up (/home, /usr, /var) Take a full system backup (Clone) OR Insert an additional hard drive Insert the Server CD, reboot from CD and reinstall (on the new hard drive) Re-install all applications Mount the old partitions Copy/restore ...


-1

Maybe not resolve all the problems, but for Number 7, try to shutdown your Windows first. If you use Windows 8 or 8.1 try run shutdown -s -t 0 to fully shut down the Windows



Top 50 recent answers are included