Ubuntu :: Separate Virtual Host To List And Display All Contents In /var/lib/php5?

Apr 3, 2011

I have an ubuntu 8.04 server running a couple of web sites using virtual hosts , apache2, mysql and php. I have noticed that by default php sessions are created in /var/lib/php5 and all stored in plain text.

I have quickly created a php script in a separate virtual host to list and display all contents in /var/lib/php5 , and it seems incredibly easy to see what details the other accounts are storing in sessions.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Etc/php5/cli/php.ini - Will Not Display Errors

May 6, 2011

etc/php5/cli/php.ini and in the apache2 folder

View 1 Replies View Related

Server :: PHP5 Will Not Display Errors To The Browser In Ubuntu

Feb 15, 2011

I have a personal apache server with php5 module in it that I have set to host user directories Host/~username. When I introduce any errors to the php file, such as echo "Syntax error; , I get a blank white screen. The error exists in the apache log file in /var/log.

I have found the php.ini file in and found every occurance of "error" in it and set it to "On" or E_ALL depending on what the argument wants. I still get a white screen.

View 4 Replies View Related

Server :: Apache2 Virtual Host Defaulting To Default Host

Oct 30, 2009

Bit of an odd one, this. I've migrated a website from my old server to a new machine. Both servers run Ubuntu + Apache2. Both only serve a single site, apart from the default site.I've flipped the domain name to the new IP address.The trouble is that after moving the virtual host config over into sites-available, with the necessary link in sites-enabled, Apache attempts to serve from the default web root (/var/www) rather than the actual site content (in /var/www/technology). So for example, an attempt to browse.

View 1 Replies View Related

Networking :: How To Find Least Busy Host Given Hardcoded Host List?

Oct 12, 2010

I got a bunch of machines (~10) that I share with my co-workers. I have appropriate .ssh file(s) set up so I don't get prompt for password when I try to ssh.Currently I ssh into these hosts and then do a top to check the load before I start using the machine. Because I don't want to be on a busy host.Can someone show me how to write a script that find a least-busy host given a list of hosts to check? (hardcoded is fine)

View 1 Replies View Related

Fedora Installation :: Display Screen Php5.3.1 Errors And 12

Dec 6, 2009

yum install httpd php mysql-server php-mysql

[url]

Not working

View 6 Replies View Related

Server :: Apache Virtual Host To Limit The Concurrent Connections Of Virtual Hosts?

Jul 3, 2009

apache virtual host to limit the concurrent connections of virtual hosts? Taking into account the host of each virtual user's home directory can also have more than one subdirectory, which should be restricted to a subdirectory. Is beyond the control of the operation of these sites in a subdirectory. Best local restrictions or limitations to the overall situation.

View 1 Replies View Related

Server :: Debian Lenny - All Virtual Hosts Lead To First Virtual Host

Apr 21, 2010

I'm having an issue with setting up the virtual hosts on my web server. I have 2 virtual hosts (example1.com, example2.com). example1.com works but example2.com is sent to the index file of example1.com. I did some searching on google and it seems the problem might be with my /etc/hosts file.

First virtual host that the second is also directed to...in sites-available/sites-enabled (note port 80 is blocked by my isp so I use 8080)

Code:

Second virtual host file

Code:

And my hosts file

Code:

# The following lines are desirable for IPv6 capable hosts

Also I'm using a dyndns.org...would that make a difference?

View 2 Replies View Related

Security :: Virtual Server To Access The Main Host Or Another Virtual Se

Jan 8, 2010

Is there anyway for one Virtual Server to access the main host, or another Virtual Server? Or would they be totally 100% independent?

View 5 Replies View Related

Server :: Create A Virtual Host And Virtual Ip In Proftpd Centos?

Nov 22, 2010

I want to create a virtual host and virtual ip in proftpd linux centos. can anyone please help me on this,I'm new in linux.

View 8 Replies View Related

Ubuntu :: Using Domain To Host Second Site Separate From First

Mar 24, 2010

I have a Ubuntu Server that is correctly set up and has been working for awhile. It currently has a domain (Registered by GoDaddy) and it is used as the main. I just bought another domain (From GoDaddy) and I want it to connect to the same server but a different section to host a second site completely separate from the first.

So this is how I want it to be setup:
Domain1 = /var/www/
Domain2 = /var/www/website2

When I put Domain1 in the url like www.domain1.com it will connect to /var/www/
When I put Domain2 in the url like www.domain2.com it will connect to /var/www/website2

View 2 Replies View Related

Ubuntu :: List Folder Contents ?

Jul 20, 2011

I know that you can use ls to list the files in a folder, but is there anyway to list the contents of the other folder? Like, say I have a folder labelled "Records", and inside is 12 folders, one for each month. Is there any way to list the contents of the 12 subfolders without just going into each one with cd and using ls?

View 3 Replies View Related

Ubuntu :: Bash: List Contents Of Folders

Dec 1, 2009

how I sould do the following?

I have a folder called "Downloads" and among its contents there are a bunch of files with "flv" extension.

If I do

Code:
ls path/to/Downloads/*flv
I will get something like this:

[Code]....

(The reason I want something like that has to do with a small script I'm trying to write).

View 5 Replies View Related

General :: List The Contents Of Directory?

Mar 12, 2010

1 List the contents of directory, /dev using a detail listing format and page by page.

2Mount the CDROM to the directory, /media/cdrom.

3 Delete the file "/home/student/myfile" without any confirmation (Assume you have the required file permission to delete this file).

View 1 Replies View Related

Ubuntu :: List Folder Contents To Text File

Feb 8, 2010

How to list the contents of a folder to a text file. I'm trying to list all my music, including all subfolders, etc. to a text file, but I can't remember the command.

View 3 Replies View Related

OpenSUSE :: Keep Contents Of The Virtual Consoles After Logout?

Apr 3, 2011

I just upgraded to openSuSE 11.4 from 11.1. In 11.1 the contents of the virtual consoles are kept after a logout, so if I login again, I get the same environment as before. In 11.4 the contents are lost. How can I switch on this feature again?

View 9 Replies View Related

General :: List Contents Of All Files Recursively?

Jan 22, 2011

What I would like to do is to print the contents of all text files in a particular directory, recursively. Problem being that there are directories and possibly binaries scattered around in the filesystem as well.

Trying cat * works as long as there are no directories in there, but when there are it gives an error instead and prints nothing.

I'm sure it's easy using file -f or something but I can't figure it!

View 8 Replies View Related

General :: List Dir Contents With Page Breaks

Jan 2, 2011

I can't seem to find any info on a terminal command that lists the contents of a directory with page breaks so that I can view the contents of a very large folder (such as /usr/bin) because if I use ls, it prints so many names that scrolling up won't even cover all of them. We all know the obvious solution is to use a graphical file browser, but I tend to shy away from depending on graphical utilities simply because command line feels faster.

View 3 Replies View Related

Ubuntu Servers :: How To Create Separate List Of Samba Users

Aug 19, 2011

I want to use samba in ubuntu.For samba users i make a user in my linux box like

# useradd smith
# useradd jone

These users can also login into my ubuntu system if they want. For samba I want to know that, is there any way to create separate valid list of samba users so that they may access files from windows xp.

View 8 Replies View Related

Applications :: Scp Copy A Directory And Its Contents From A Remote Machine To Local Host

Oct 8, 2010

For the life of me I can not figure out what I am doing wrong with scp to copy a directory and its contents from a remote machine to my local host. I have no issues with getting a single file but would like to just save time and get the whole folder in one command.

Here is what I have tried:

scp user AT remoteMachine:/home/username/folderIwant user AT localMachine:/folderIwant this gives me a permission denied error and try again and received disconnect from localHost to many authentication failures

scp user AT remoteMachine:home/username/folderIwant . says can not find file or folder

I am sure this is something easy that I cant remember, and searches gives me local to remote not remote to local and trying to make the local to remote suggestions I read to work remote to local have not worked.

View 2 Replies View Related

Programming :: How To List Contents Of Directory And Exclude Any Subdirectories

Aug 2, 2010

I'm having trouble figuring out how to list the contents of a directory and exclude any subdirectories.

View 5 Replies View Related

Ubuntu :: How To Have Desktop Display Contents Of HOME Directory

May 24, 2010

I am just coming to GNOME from KDE where I used the folder view desktop widget to display the contents of ~ directory (/home/<user>) rather than the "Desktop" directory itself, as that's where all the stuff I wanted to access from the desktop was. Is there any way I can do this in GNOME with the actual desktop (as opposed to a widget)?

View 4 Replies View Related

Networking :: Separate Hardware Address On Virtual Interface?

Oct 30, 2010

how to do a virtual interface under linux. I'm using for example eth0:1 so ifconfig eth0:1 192.168.0.20 netmask 255.255.255.0 for example.

However if i do eth0:1 hw ether 00:11:22:33:44:55 It changes eth0 as well. Where should i look into for creating a separate virtual interface that's simply bridged with one of the existing interfaces that has a separate ip and hw address that the os handles.

View 1 Replies View Related

Server :: Create A Separate Logfile For Host Sending Logging To Rsyslog?

Feb 16, 2011

After struggling and googling on the internet I can't manage it to work.I have stup rsyslog to receive the logging from my firewall and it puts it into the syslog file.ut I would like to have a separate logfile for these messages.I have created the firwall.log file with owner syslog, same as for the syslog file.I already have tried to use in the /etc/rsyslog.d/10-firewall.conf the following ::msg, contains, "firewalld" /var/log/firewall.logor
:msg, contains, "firewalld" -/var/log/firewall.logI don't know the difference between the "-" sign in the lines but I have seen also those kind of situations.

I also have put this line into the 50-default.conf file because I thought it wasn't seeing the 10-firewall.conf file but no work.I have added a $template HostMessages, "/var/log/%HOSTNAME%/logfile.log" in the /etc/rsyslog.conf file but neither it works.In the firewall I can see the Syslog facility is now on LOG_LOCAL0 and I can change it from LOCAL0, LOCAL1, LOCAL2, ... until LOCAL7What does these different numbers mean

View 4 Replies View Related

Ubuntu :: Laptop Display Split Into 6 Separate Displays?

May 14, 2010

I am running ubuntu 9.10, on a Lenovo laptop. Has been working perfectly until now. But now my screen is split into 6 very small screens which all work in synch. That is - I have 6 mouse pointers - it is really like having 6 very small screens. All software is still working. However - I need to go back to only one screen in full-size. Has anyone ever experienced this. Using Nvidia accelerated graphics driver.

View 4 Replies View Related

Ubuntu Servers :: Separate Virtual Machines For Apache, Mysql, File Server?

Jul 11, 2011

I'm working on a side project where I would like to install three ubuntu server systems,each with only one task.So server0 would be the apache server, server1 would be the database and server2 would be the file server.which key terms I should be researching?

View 9 Replies View Related

Debian Configuration :: Separate Virtual Desktops On Dual Monitors?

Jul 19, 2011

I have a ThinkPad W520 with nVidia Quadro 1000M and Nouveau drivers. I use external monitor with extended desktop using XRandR. My beef with this setup is that I get just one virtual desktop of a (1440+1920)x1080 size whereas what I would like to have is being able to have one separate (set of) virtual desktop(s) on my 1440x1080 external monitor with, for example, some reference material open, while have other programs working on another (set of) virtual desktop(s) on my main 1920x1080 screen. I've read that this might be possible with so called zaphod mode, but it looks like it involves static rules in xorg.conf which I would like to avoid since from time to time I need to carry my laptop with me without external monitor.

View 5 Replies View Related

Server :: Separate SSL Sites For Multiple IP / Name Based Virtual Hosts?

Feb 15, 2011

I have set up a SSL site for my default Apache server. But I want to set up multiple SSL sites for multiple IP based as well as Name based Virtual hosts. Is there a way where in I can include definitions for SSL certificates and keys within the Virtual Host directive in the httpd.conf, so that I can specify separate key and cert file for every Virtual Host.

View 11 Replies View Related

Ubuntu Servers :: Use PHP5.2 Instead Of PHP5.3?

May 3, 2010

I'd like to use PHP5.2x instead of PHP5.3x on my Ubuntu 10.04. There is a small bug in Drupal where tweaking Views causes an error which seems to be associated with php5.3.

So, how would I regress to using 5.2x on Ubuntu?

View 1 Replies View Related

General :: Shell Command To Display Contents Of A File?

Feb 23, 2010

shell command to display contents of a file? Like that of .txt or .html

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved