Ubuntu Servers :: Basic Configuration To Execute PHP Under Apache

Apr 7, 2011

On Ubuntu 10.04 with Apache and PHP installed, I can execute a test.php file

Code:

If I specify it on my Apache web server

Code:

However, I am not able to configure the web site to execute index.php automatically.

These are the settings I have.

Code:

View 2 Replies


ADVERTISEMENT

Fedora Servers :: Apache Execute Permission To Save Uploaded File?

Sep 10, 2009

here is the upload form:

<form enctype="multipart/form-data" action="uploader.php" method="POST">
Choose a file to upload: <input name="uploadedfile" type="file" /><br />
<input type="submit" value="Upload File" />
</form>

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Apache - Execute A Bash Script That Uploads A File To Another Server Through A Website?

Sep 20, 2010

I have a web server in my kitchen with apache running on it. Since the upload speed is quite low due to my isp I would like to execute a bash script that uploads a file to another server through a website (which is htaccess protected) The idea in general: Someone with access to my website browses through a folder, copies a file path to an input form and presses "upload". Rather than executing a bash script directly I could have a cron job running in background that finds the path and then uploads the file to the other server I have userspace on and is accessible via sftp/ssh. The file would be than erased later after a couple of days or so. That person would be able to access the file with higher speed some time later without logging in via ssh and doing all that manually.

View 2 Replies View Related

General :: Ubuntu - Cannot Execute Basic Commands (ps, Ls, Ifconfig) - File Not Found

May 4, 2011

When I try execute a variety of basic commands (including ps, ls, ifconfig, locate), I receive the error 'no such file or directory'.

Here are some suggestions that I've found online, that I have tried without success: I did a 'whereis ps' and found the file in the /bin/, and have checked that '/bin' appears when I do 'echo $PATH' I did a filesystem check which showed my hard drive as being clean I tried doing a 'sudo chmod 777 ps' but was told that I dont have permission. I don't think permissions for these files would have changed though (and I can't check as I can't run the 'ls' command).

View 3 Replies View Related

Ubuntu Servers :: Apache SSL Configuration Troubleshooting?

Jul 19, 2010

I am trying to configure Apache on my server to work with ssl, but everytime I visit my site, I get the following message in my browser: SSL connection error. Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.

Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. Just some background on the situation: I am using Ubuntu 10.04 desktop edition. I installed apache by installing zend server (it installed apache automatically). I then installed openssl. Non-https pages work fine on the site. I tried getting trial certificates from multiple certificate sites but nothing is working (same error). I was previously hosting my site on another server on which ssl worked just fine. I also tried using the key and crt file from that server, but I got the same error. The domain name and IP are still the same though. My SSLCertificateFile and SSLCertificateKeyFile are pointing to the correct directory and files.

View 3 Replies View Related

Ubuntu Servers :: Apache Configuration - Designing Webpages In PHP

Feb 4, 2010

I'm using ubuntu 9.04, I want to design webpages in PHP for that I installed apache 2 on my machine. I'm using my mobile to connect to the internet when ever the mobile is connected and the wired connection established the server running properly. But when the wired connection disconnected my browser page didn't show the localhost home. How can I configure the apache on my machine.

View 3 Replies View Related

Ubuntu Servers :: Cgi Doesn't Work With New Apache Site Configuration?

Mar 24, 2010

I installed apache on my local machine to test my sites. I have one problem:I created a new site configuration in /etc/apache2/sites-available and enabled it. The problem is that cgi is not working, it just prints the content of the files. (The default location for cgi, /usr/lib/cgi-bin works without problem.)Here is the content of the site configuration file:

Code:
<VirtualHost *site1:80>
ServerAdmin webmaster@localhost

[code]....

View 4 Replies View Related

Fedora Servers :: Apache Configuration And HTTPD Services

May 29, 2010

I have Apache Server working online under Fedora Core 6. But before I installed and configured everything, I've been testing in Fedora 12. The problem surges here, when I start the httpd service, every supuse 404 action on a web browser, takes me to localhost. I mean, if I enter google.com, no error, just goes to localhost, http://asdasd, no error, gives back localhost. I used to ignore the problem 'cause I thought it was a problem on my apache, but when I installed the Server on the Fedora Core 6 machine, I found that I have the same problem there. Of course, it only occurs when I am browsing through the same machine that has httpd started. Does anyone know how to change that??

View 6 Replies View Related

Ubuntu Servers :: Modify Apache IPv4 Configuration To IPv6 Config?

Feb 25, 2011

I want to modify apache IPv4 configuration to IPv6 configOn both windows and ubuntu.

View 1 Replies View Related

General :: Lack Basic Understanding Of Permissions (Apache)

Apr 8, 2010

I am very new to linux. The first time i ran a linux machine was one Saturday. Anyway I am trying to set up an apache web server, all I want to do is play around with html and post it on my unbuntu server so it is available to the internet. I am also trying to install samba but I am having trouble with that so for now I am using winscp. Ok, so I made a folder in my home directory for webstuff, and set up apache to look in that folder.

mkdir /home/username/webstuff
I put my index.html file into the /webstuff folder.
But when I go to my website, it says 403 error unable to access "/"

Did I make the folder in the right place? I do not want people being able to access my / folder so maby I made the web stuff folder in the wrong place? Also I thought I would just put my inded.html file inside of the default one apache gives you, but when I tried to transfer index.html it said permission denied. How to set up permissions so I can use apache and transfer my html files from my remote desktop to my server would be great!

View 7 Replies View Related

Server :: Execute CGI On Apache Document Root

Mar 18, 2010

how can I run CGI scripts that are without extensions under the document root?i can not use ScriptAlias on the document root, i can run .pl scripts but i cant run any script without extension...ofcourse all files are executable on the fs.

View 8 Replies View Related

Slackware :: Error 1146 - Basic MySQL Configuration / Initialization

Oct 22, 2010

Do I have to do a basic configuration / initialization of mysql, like described in the following link, before I can use it? [URL] The background is, that I want to use mythtv and therefore I need a working mysql. When I tried to create the needed database, as described in the file README.SLACKWARE (included in mythtv.Slackbuild package from slackbuilds.org) with the following command, I got an error:
# mysql -u root -p < /usr/share/mythtv/database/mc.sql

The error message was:
ERROR 1146 (42S02) at line 3: Table 'mysql.servers' doesn't exist
-- integrale

I don't remember that I ever did a basic configuration but mysql was already used by joomla, and it worked right out of the box.

View 5 Replies View Related

Ubuntu Servers :: LVM Basic Size / Move

May 14, 2010

ok I have the original install 170GB partition mounted on /

I need the following;
OS on / 30 GB
data mounted on / data 140GB

Fdisk would have been a joke, but the box was setup via lvm, so I am learning on the fly. I was able to shrink the partition using;
lvreduce -L 30G /dev/mapper/server-root

vgcreate shows;
VG Size 169/76GiB
Alloc PE / Size 9453 / 36.93GiB
Free PE / Size 34005 / 132.83 GiB

Now, per my DBA, I need that 130 on a seperate 'partition' and I am not 100% sure on the next step. I am reading on vgcreate, lvcreate, etc.

View 1 Replies View Related

Ubuntu Servers :: XLS (Visual Basic) To ASP Conversion

Sep 16, 2010

I know this is a bit out in left field but my gf's dad has created a fairly large application in Excel 2003 and now we need to run it online. I setup mono and xsp2 on my Ubuntu server in order to test but have no idea how to convert a monster .xls file in VB to ASP or maybe even PHP (one can hope, right??)

View 9 Replies View Related

Server :: Configure Apache To Execute Php Scripts / Pages?

May 14, 2009

Most of my googling odysseies lead me to articles which talk about compiling apache & php from the source as this is touted to be more flexible. But the problem we have is this...we already have an apache 2 web server running. Now how do we serve php pages of it.

View 1 Replies View Related

Ubuntu Multimedia :: ATI 320M Notebook - Video Doesnot Seem To Be Working Other Than A Basic VESA Configuration

May 5, 2011

I recently took my Compaq Presario 2175US notebook completely apart and resoldered the power jack so that it could be used again (after 2 years of dormancy). After successfully putting it back together (with a handful of leftover screws ) , I was able to successfully install Ubuntu 10.04 (Windows XP seemed silly at this point and I really like using Open Office). Anyway, after a couple of days looking for the wireless driver for the internal wireless, I found the answer and got that working.

Unfortunately, the video does not seem to be working other than a basic VESA configuration. The notebook has the ATI Radeon IGP 320M video chip installed. I have searched for many days (about a week) on the internet for a way to get this working, but have been unsuccessful. Although I have found many posts all over the net (here included) that list folks with similar problems, and having tried many of the "fixes", I am still unsuccessful at getting the video card to work in any more than a minimal manner (no games, no 3D of any kind...etc.)

View 5 Replies View Related

Ubuntu Servers :: Using Basic Iptables Config - But ALL Traffic DROPS

Jan 11, 2010

I'm using Ubuntu server 9.10 with 2 NICS (Internet-router-eth0, eth1-LAN). I use iptables to generate rules for 20 computers, but when I execute the script, ALL TRAFFIC DROPS, including the server. What am I doing wrong?

Code:
#!/bin/sh
#eth0 192.168.0.50 - connected to Internet
#eth1 192.168.1.51 - connected to LAN
#192.168.1.52 - workstation1
#set default policies
iptables -P INPUT DROP

[Code]...

iptables -A FORWARD -i eth1 -o eth0 -p tcp --dport 80 -s 192.168.1.52 -j ACCEPT. The reason I'm doing this is, I just want to open necessary ports in the server and restrict LAN usage.

View 2 Replies View Related

Ubuntu Servers :: LAN Setup - Basic File And Printer Sharing?

May 31, 2010

I am trying to set up a LAN with some basic file and printer sharing, as well as either a VPN or FTP server. I am setting up a server for an office with about 4 computers and one remote computer at a home office. I would like the server to back up a selected group of folders on all of the computers as well as share some printers between them all as well. If all of the other computers are windows computers will Ubuntu work for something like this? I would also like to host a website and e-mail server as well if the server is not loaded down too much. I know I can get windows server to work, but I would like to use something else if possible.

View 3 Replies View Related

Ubuntu Servers :: Basic Guest Samba Share No Worky?

Oct 18, 2010

I've been running Samba for a couple of years now. Bumped up from 9.04 to 10.10 server (64 bit), and nothing wants to work. I have a really simple share that I want to be accessible by all Windows clients without a login (guest access). Here is my config:

Code:
[global]
security = share

[code]....

View 3 Replies View Related

Server :: AD User Login To Nagios - Unable To Execute CGI Scripts In Apache

Apr 25, 2011

I have a nagios server monitoring around a 1000 hosts in our office. To make things easier, i've integrated apache into Active Directory for the website authentication. This works perfectly, however the Nagios website uses alot of CGI scripts to display information I get the message below when trying to show CGI scripts with an AD user. Local users work fine. 403 Forbidden You don't have permission to access /nagios/cgi-bin/status.cgi on this server. I tried adding the AD users to the cgi.conf file within Nagios (which works for local accounts) but it doesn't seem to work even with this change.

View 4 Replies View Related

Red Hat / Fedora :: Have Finished Reconfiguring My 1st PC Centos 5.5 With Squid And Dansguarian Works Fine The Configuration Is Basic?

Feb 8, 2011

I have finished reconfiguring my 1st PC Centos 5.5 with Squid and Dansguarian. Works fine the configuration is basic.lets name it to 1st PCeth0 - modem ip (public)eth1 - 172.16.1.1 (LAN)Then I've decided to change and add another Centos 5.5 for Firewall Service that is directly connected to the modem and then shares internet connection and some ports to 1st PC.

lets name it to 2nd PC, it also has two NICSeth0 - modem ip (public)eth1 - 10.0.0.1 (ip to connect to the 1st pc with squid services)so I changed the ip of the 1st PC with theseeth0 - 10.0.0.2eth1 - 172.16.1.1 (LAN)and connects the eth0 (10.0.0.2) of the 1st PC to the eth2 (10.0.0.1) of the 2nd PCthen I've tried browsing on the network but it does not work...is there a simple iptables command for the 1st PC and 2nd PC?ere are the iptables script and lists of my 1st and 2nd PC 2nd PC (firewall to be)

#vi /home/user1/fw.sh
#!/bin/sh
123=/sbin/iptables

[code]....

View 7 Replies View Related

Ubuntu Servers :: Configure For Remote TCP/IP Client Conncections Using MS Visual Basic OLE DB C

Mar 9, 2011

I'm trying to get a VB program to make a client connection to my PostgreSQL server running on an Ubuntu 10.10 server. Here's what I've done: Client side - installed and registered the OLE DB .dll's from the PostgreSQL OLE DB Provider project. server side - the configuration described here: [URL]... Have added this line to postgresql.conf:

listen_addresses = '*, 144.96.80.35, localhost'
I've also tried this as simply:
listen_addresses = '144.96.80.35, localhost'
also, port = 5432
I have added the following to pg_hba.conf:
# IPv4 local connections:

[Code]...

View 6 Replies View Related

Debian Configuration :: Unable To Execute Aclocal For PHP 5.6.10

Jun 22, 2015

OS: Debian 8.1
Php: 5.6.10
Apache: 2.4.12

My question is I trying to install php5 and add mcrypt,, but it is unable to run "aclocal" command. It show this message.

I have check with the path of /etc/profile, I'm sure that I have added the path as below. Beside that, before "aclocal" command I able to run another command which is "phpize". It is able to run successfully, after I added the path as below...

View 2 Replies View Related

Ubuntu Servers :: Creating Virtual Apache Servers?

May 3, 2010

I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.

View 5 Replies View Related

Ubuntu Servers :: Unable To Execute .sh Script

May 13, 2010

I have a Dell PowerEdge 2850 running Ubuntu 10.04 Server with SSH and Samba. My problem is that I am unable to execute my adduser.sh script which reads from a text file and adds users to the box and Samba. I have ran chmod a+x to make it executable and placed it in /usr/local/bin.

When I run sudo adduser.sh I get "sudo: unable to execute /usr/local/bin/adduser.sh: No such file or directory".

When I run adduser.sh I get "-bash: /usr/local/bin/adduser.sh: /bin/bash^M: bad interpreter: No such file or directory " I have been using Kubuntu as my home workstation for some time now but I have managed Windows servers but since I was given the freedom to setup this server I chose Linux.

View 5 Replies View Related

Ubuntu Servers :: Use F12 To Execute Script Even When Not Logged On

May 28, 2010

how to bind a script to a F key (F12) that will run as root even when not logged in. I have a headless server on client premises where it'd be easier for them to press F12 to run this script that will be rarely needed than to give them SSH instructions etc. I know this must be do-able, but I can't get my Google-fu on for this question. The only way that I can possibly think of doing it is to touch a file whenever that key is pressed and have the script idly checking for that file every few seconds in a loop.

View 2 Replies View Related

Ubuntu Servers :: 10.04 Cannot Execute Binary File

Dec 22, 2010

Trying to install Parallels Plesk Panel 10 x86_64 onto a completely new installation of Ubuntu 10.04.1 LTS

root@server:~# chmod +x parallels_installer_v3.7.1_build101014.17_os_Ubunt u_10.04_x86_64
root@server:~# ./parallels_installer_v3.7.1_build101014.17_os_Ubunt u_10.04_x86_64
-bash: ./p.arallels_installer_v3.7.1_build101014.17_os_Ubun tu_10.04_x86_64: cannot execute binary file

View 5 Replies View Related

Debian Configuration :: Configure To Automatically Use Wine To Execute Using The ./executable.exe Format?

Nov 5, 2010

I've recently been trying to restore a Debian installation back to it's previous state after a serious operation system crash. Efforts are largely going well however I've run into problems since reinstalling Wine. Previously I could execute a Windows executable by simply entering ./executable.exe in the bash shell but this no longer seems to work as now I have to include the "wine" command in front of the executable. how to configure Debian to automatically use Wine to execute using the ./executable.exe format?

View 1 Replies View Related

Debian Configuration :: When Root Crontab Is Edited The Execute Flag Is Removed?

Mar 3, 2011

I have been having trouble setting up a daily backup script with cron. It would basically never worked. Searched the net for answers but didn't find anything. I finally figured it out !! When root crontab is edited the execute flag is removed from #/var/spool/cron/crontabs/root. I change it with #chmod a+x /var/spool/cron/crontabs/root and all is good.

View 5 Replies View Related

Ubuntu Servers :: Make Execute PHP And Perl Scripts?

Jan 1, 2010

How would I make my server execute PHP and Perl scripts? (I'm going to be working with both)

I have PHP5 and the latest Perl installed, and my installation is fresh.

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
code....

View 1 Replies View Related







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