Debian :: Installed Apache - Doesn't Recognizes Folder?

Jun 23, 2010

I have just installed a Virtual Machine with Debian. My goal is to set up a LAMP server to work with. I have installed Apache, PHP and MySQL, everything without any problems and following WIKIs.

Now, I have a problem, because I'm trying to work with folder within my /var/www folder. If I use the address http://192.168.1.103 in my Host computer's browser, I can see the "It works!" from Apache without a problem.

Now, if I try to see: http://192.168.1.103/test/ I can't see the index.html that is within the folder test that is on the path: /var/www/test Why is this? What do I need to do and keep this simple?

View 2 Replies


ADVERTISEMENT

General :: How To Get Apache That Recognizes Php

Jul 8, 2010

I want to have apache + php + mysql.My apache does not recognize php and mysql is only partially installed.Php works but not thru apache. The apache conf file has no reference to it.In case it matters, I insalled some security updates that created a defective later version -2.6.32.5 which loops and displays garbage. At startup I interrupt grub and tell it to run the old one. I would remove the defective one but don't know how. I'm an experienced systems programmer with almost no unix time. (pdp8-os8, pdp11-rsx, tandem-tal, vax-vms,os360, etc)

View 10 Replies View Related

Ubuntu Installation :: 10.10 Doesn't Recognizes W7sp1x64 Volume?

Apr 29, 2011

i will get directly to the problem. I'm a mid-experienced ubuntu user and i'm facing a harddisk problem in my opinion. When i try to install 11.04 and 10.10 ubuntu doesn't recognizes my w7sp1x64 volume (157 gb one). accually ubuntu acts like there is no ata device connected and no matter what i do is useless. at first i thought mybe my hdd is damaged but w7 boots like a charm; but i can't even install ubuntu. here are some pictures about my hdd:

[URL]

btw i can't see any devices connected on gparted

View 3 Replies View Related

Ubuntu Networking :: Wireless Doesn't Work - But Recognizes Network?

Sep 20, 2010

I installed Ubuntu on a machine after erasing everything else and the wireless has never worked. It says that the wireless has already shut down even though it recognizes the wireless network and my other non-linux machines see the network and work fine.

View 1 Replies View Related

Ubuntu :: Lex / Yacc Bizarre - Parser Doesn't Recognizes The NUM Token

Mar 21, 2011

I'm writing a parser using lex and yacc for an IEEE standard language ( STIL ). Here's the lex file ( some of ).

[Code]....

stil_language is the start symbol. The bus variable is initialised at 0 ( There's a check in the main ). The problem is that the parser does not recognises the NUM token ! It just re writes any expression that corresponds to the "number" regular expression. Here's a prompt example :

[Code]...

View 1 Replies View Related

Debian Installation :: Package Apache Not Installed So Cannot Removed

Jul 7, 2011

I am running a vps with nginx as webserver. For some odd reason (I don't know if it was installed already) apache2 was running before nginx could start. After stopping apache2 nginx starts fine again. But, I want to completely remove apche2, but:
root@vps2:~# apt-get --purge remove apache2*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apache2 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@vps2:~#

but:root@vps2:~# ls -la /usr/sbin/apache*
lrwxrwxrwx 1 root root 34 Jul 5 01:46 /usr/sbin/apache2 -> ../lib/apache2/mpm-prefork/apache2
-rwxr-xr-x 1 root root 5326 Mar 22 23:56 /usr/sbin/apache2ctl
lrwxrwxrwx 1 root root 10 Jul 5 01:46 /usr/sbin/apachectl -> apache2ctl
root@vps2:~# ls -la /etc/ap
apache2/ apm/apt/
root@vps2:~# ls -la /etc/apache2/
total 76

drwxr-xr-x 7 root root 4096 May 27 17:32 .
drwxr-xr-x 88 root root 4096 Jul 5 20:46 ..
-rw-r--r-- 1 root root 7908 May 27 17:32 apache2.conf
drwxr-xr-x 2 root root 4096 May 27 17:32 conf.d
-rw-r--r-- 1 root root  1169 May 27 17:32 envvars
-rw-r--r-- 1 root root 0 May 27 17:32 httpd.conf
-rw-r--r-- 1 root root 31063 May 27 17:32 magic
drwxr-xr-x 2 root root 4096 May 27 17:32 mods-available
drwxr-xr-x 2 root root 4096 May 27 17:32 mods-enabled
-rw-r--r-- 1 root root 750 May 27 17:32 ports.conf
drwxr-xr-x 2 root root 4096 May 27 17:32 sites-available
drwxr-xr-x 2 root root 4096 May 27 17:32 sites-enabled
root@vps2:~#

Apache2 is there and I can start it normally with /etc/init.d/apache2 start but I want it removed, how do I do that?

View 2 Replies View Related

Debian :: Freshly Installed Squeeze Doesn't Have Gdm (X Server)?

Sep 24, 2010

i got a copy of CD1 from [URL]. And then, i noticed there was no gdm(X server) installed. Is it different from Lenny? It is possible to install X from the CD?

View 5 Replies View Related

Debian Hardware :: Pulseaudio Incorrectly Recognizes Bluetooth Headset As Mono

Sep 10, 2014

Having trouble with pulseaudio (0.9.21, Debian Squeeze) failing to properly recognize a Turtle Beach X-ray headset?

My tv connects fine, playing Dolby Digital through it without issue, but my computer doesn't. (A possible side effect: Flash videos play in slow-mo when the headset is connected to the computer's bluetooth adapter, but not when the headset is disconnected.)

Is there a way to tell Pulseaudio to give the headset 6 channels?

Some info:

Code: Select all~ » pulseaudio --dump-modules                                                 
module-alsa-card                        ALSA Card
module-alsa-sink                        ALSA Sink
module-alsa-source                      ALSA Source
module-always-sink                      Always keeps at least one sink loaded even if it's a null one
module-augment-properties      Arugment the property sets of streams with additional static information
module-bluetooth-device                 Bluetooth audio sink and source

[Code] ....

View 1 Replies View Related

Ubuntu Security :: Opt Folder Doesn't Allow To Create Folder

Oct 28, 2010

I'm new to ubuntu and want to install stepmania so i downloaded the binary, i want to put the files in the /opt/ directory, the only problem is i cant create a new folder, i tried dragging a ready-made file into it but it just says "you do not have the permissions to file:///opt/" Im soo sad i wanna play my sM NOW!

View 3 Replies View Related

Debian :: Only Installed Base System, Doesn't Find Package "gnome"?

Jun 28, 2010

Well the topic name says it all. I only installed the base system and when I try "apt-get install gnome" it tells me it can't find package "gnome".Now, I'm actually to much of a noob to try to build my own Debian from the base system and up. But it still seems to be the easiest option.When I try "Debian GNU/Linux on CDs" I can't get online. I start Iceweasl but it just gives me that message telling me that it can't find the website I tried to enter (e.g www.google.com).When I try the net install I get "Bad Archive Mirror" at the configure apt part. I've tried searching your forums for this and it seems to happen to a lot of people but I still can't find a solution in any of those threads

View 8 Replies View Related

Debian :: Wheezy Only Recognizes 1 Core Or Dual Core CPU?

Sep 7, 2011

I have now installed Wheezy on two different hard drives and in each case it seems only one CPU of my dual core CPU computer is recognized. System Monitor, Gkrellm and lscpu show just one when prior to the new install the old Wheezy showed both CPU's. I have put the hard drive into two other computers with dual core CPU's and all show just one CPU.

Interestingly System Profiler and Benchmark (hardinfo?) > Devices > Processors now show a large amount of processor infomation when with the old Wheezy I would only see both CPU's listed and nothing else.

View 14 Replies View Related

Fedora :: Apache Is Not Being Installed?

Jun 28, 2010

although there is inbuild apache in my fedora9 , but i am unable install it by manually. Is it a problem , if already i have apache in my system?

View 1 Replies View Related

Fedora Servers :: Changing Cgi-bin Folder In Apache

Jun 17, 2009

I've run into some problems trying to change the default cgi folder from /var/www/cgi-bin to /var/www/cgi-local (in order to migrate scripts from a much older server to a new one). I have edited httpd.conf to modify the following:

Code:
ScriptAlias /cgi-bin/ "/var/www/cgi-local/"
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-local">
[Code]...

I have also tried several variations. I left ScriptAlias at the default "/var/www/cgi-bin" and I have tried it with AllowOverride None and without the +ExecCGI after Options. I am getting a 404 error when a form has an action directed at a cgi script that is in cgi-local.

View 4 Replies View Related

Ubuntu :: Run Apache Folder In /home Directory?

Jul 30, 2011

I need to be able to run Apache again the folder in my /home directory. I added the following line to the end of my apache2.conf file:

Code:
Include /etc/apache2/aliases.conf
Then created the aliases.conf file with:

Code:
Alias /home/ "/home/"
<Directory "/home/">
Options Indexes
AllowOverride All
Order allow,deny
</Directory>

The system tries to process the alias, but always get a 403 permissions denied error. How do I get around this? I already tried:

Code:
chown myuser:users /home -R
chmod 775 /home -R

AThink it is an Apache setting I need to read in this directory.

View 9 Replies View Related

Server :: Folder And Description Appearance Using Apache?

Mar 26, 2011

I have a personal webserver and webpage that makes my mp3 collection available to me on the network. It's more of a learning experience than anything else. Anyway there are two issues that I have found some information on, but I haven't been able to make sense of what I've found.

1. I would like directories to appear first and individual files to appear afterwards.

2. I would like for the name column width to match the longest name appearing in that column.

I am attaching a screenshot of the page for clarification.

View 4 Replies View Related

CentOS 5 :: Allowing Apache To Write To Folder?

Jul 29, 2009

I'm a PHP developer and an app I'm working on right now generates files for users to download. The problem I'm seeing is in order to write to a folder I have to chmod it 777, obviously a bad idea.

I'm thinking the best idea is to change the folder user / group to that of apache, however after over an hour of Googleing I can not find out what user / group apache belongs to.

Thoughts? Is this the best way to go or should I do something else?

View 3 Replies View Related

OpenSUSE Network :: Local Apache Not Recongnizing New Folder?

Feb 5, 2011

I'm running OpenSuse 11.3 X64. I have installed apache2, PHP5 and MySQL in order to do some web-design offline e.g. they are for internal network use only. There is also phpMyAdmin installed. The default directory for the "server" is /srv/www/htdocs.

To access a specific site in progress I create a subfolder there then just navigate via h**p://10.13.23.201/NAMEOFFOLDER from my internal network. At least that is how it should work but it doesn't. I created a new folder called wlc so it's directory is /srv/www/htdocs/wlc however when I go to the address h**p://10.13.23.201/wlc I get a Remote Server Or File Not Found error from my browser, there is files in there ,index.php, that should load and apache has been set to recognize *.php files.

I know the theory should work as I can access /srv/www/htdocs/phpMyAdmin by going to h**p://10.13.23.201/phpMyAdmin and it loads just fine. Also the error is different if I go to a folder that doesn't exist for example h**p://10.13.23.201/THISFOLERDOESNTEXISIT will return an Object Not Found error.

View 4 Replies View Related

Ubuntu :: Allowing Anon Access To WWW Apache Folder?

Dec 15, 2010

I have recently installed a LAMP server on Ubuntu 10.4 nd I would like to have the /var/www folder writeable and accessible by my other computers on the LAN. I know I have to install Samba but how do I configure it so I can map network drives to the WWW folder and allow read and write access?

View 2 Replies View Related

Ubuntu :: Apache Tomcat - Cannot Find Common Lib Folder

Jan 3, 2011

I am trying out jUDDI. I have to copy the MySQL JDBC driver to {TOMCAT}/common/lib but the thing is I am new to Linux and I cannot find the common/lib folder. I tried to search for apache inside the usr/lib so that i could copy the MySQL JDBC driver inside it but couldn't find the specific folder. 'Locate' and 'which' were not very helpful. I have installed 'servlet and jsp engine' for tomcat 6.

View 1 Replies View Related

CentOS 5 :: Allow Php To Create File, Chown -R Apache Folder

Apr 6, 2010

I have a php script that I want to create a file and allow it to be downloaded. I know the dangers of chmodding a directory to 777 so I am trying to avoid this.

What I have done is logged in through ssl as root.

Navigated to the directory where the directory I want to chown is located. I then perform:

chown -R apache directory

View 2 Replies View Related

General :: Gmailwatcher - Doesn't Show As Installed Software In The Installed Software Centre

Nov 16, 2010

I just want a simple email notifier. I have started to use Ubuntu 10.10 and seem to have downloaded Gmailwatcher - it shows in Applications/Internet/Gmailwatcher. But it doesn't show as installed software in the Installed Software Centre. So, I cant uninstall it. I can't configure it? If I try to open Gmailwatcher I receive a popup asking me to open it from an icon above - but there's no icon there, I just want a simple email notifier - preferably one which I can add an audio alert.

View 1 Replies View Related

Ubuntu :: PHP5 And Apache Installed - Do I Need Firewall?

Oct 26, 2010

I'm doing some light web development, I installed php5 and apache on my laptop and read that when running apache your computer is technically a server and is thus vulnerable to computer wankery. I'm looking for advice on whether or not I should install a firewall or if I don't really need it. The work I'm doing is not a professional website, just a place for some experiments. All the info I found on the web was targeted to professional web-developers, not so much for amateurs like myself. What do you think?

View 6 Replies View Related

Ubuntu :: Know If Apache Web Server Is Properly Installed?

Jul 30, 2011

I am using vmware player, operating system is ubuntu. I have just installed the apache httpd-2.2.19. I am using the manual method. ./configure, make, make install. No error message.

When i run ubuntu, it gets into the terminal. From here, how do I know if my apache web server is properly installed?

View 5 Replies View Related

CentOS 5 :: Updates Installed - Now Apache Not Working

Apr 15, 2011

The other day there were a number of updated needed on my server which I installed with yum (the software updater GUI). Now my websites are not coming up even on the server using http://localhost

I reviewed the info and found that httpd was updated to 2.2.3-45 and am suspecting that this is the cause of the issue. So my silly little question is how do I roll back this update?

View 4 Replies View Related

General :: File / Folder Permissions And Groups On Linux With Apache?

Jun 26, 2010

I'm trying to learn about permissions on linux webserver with apache.Some clues to the system: The server I have to play around with is Fedora based. Apache runs as apache:apache. To allow for e.g. php to write to a file the file needs to be chmod 777. 755 is not sufficiant.What I'm wondering is basically how set up permissions like they should be on e.g. a "shared web host".My main problem is that if I set a permission so that one user cannot access anothers home folder, then apache can't read from the public_html folder either.

To keep the users out I need to set chmod 700. But to let apache to read I need to have at least execute on world,so a 701 basically works, but won't let some users in.So I'm really stuck on what to do. Have been concidering adding the apache user to the frous grours
below to avoid having to add the world execute flag, but is that a bad thing? Should it be the other way around, the users in the groups below should also be in the apache group?I was aiming at having 4 groups:

1. webapp: same as dev_int, but is the only one that can go inside the webapp/live folder to e.g. do an update from the repo.

2. dev_int: can read,write and execute everything in the "web root", including the two below, but nothing outside of the web root

3. dev_ext: can read write and execute in all client folders, but cannot access anything outside of the webapp root

4. clientsBasic ftp accounts. Has a home folder with a public_html, but cannot access any other home folders

View 1 Replies View Related

Server :: Apache - Redirect Through A .htaccess File In My Root Folder

Feb 2, 2011

I need to redirect through a .htaccess file in my root folder. The redirect needs to be done from http://www.department.univeristy.edu/reuir to a different server [url]. I am having trouble in determining the pattern that is required for it to take effect.

View 2 Replies View Related

OpenSUSE Network :: Apache Configuration - How To Get Modules Installed

Apr 28, 2010

I haven't been able to get a working X11 environment on a Dell PowerEdge 1850. Using YaST without an X11 environment sucks particularly when you are trying to configure Apache. In addition, the Apache configuration files seem to have changed significantly since the last time I configured Apache on a SuSE Linux distribution. Where can I find good documentation on editing suseconfig files to ensure that I get the modules installed that I need for the collaboration tool that I'm installing?

View 2 Replies View Related

General :: Check Which Apache Modules Are Enabled/installed?

May 17, 2011

which is the most elegant way to check which apache modules are enabled?

View 3 Replies View Related

Ubuntu :: Can't Get Apxs \ Set Up A Web Server With Mod_python Installed With Apache?

Oct 18, 2010

and I am trying to set up a web server with mod_python installed with apache. When I run the ./configure for mod_python it gives me an error saying that can't find apxs. I have Ubuntu server addition and Apache2

View 1 Replies View Related

Ubuntu Servers :: Setting Apache DocRoot To Folder In Home Directory

Jan 9, 2010

Vanilla install of Karmic (64 bit) - would like to change the Apache doc root to point to /home/sam/www as it's my web development machine. (Default install is working fine)
Created copy of 'default' to 'mylocal' in '/etc/apache2/sites-available'

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/sam/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/sam/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
...

The permissions on the folder in my home dir:
Code:
sam@rocket:~$ ls -la ww*
total 16
drwxrwxrwx 2 sam sam 4096 2010-01-09 22:26 .
drwx------ 35 sam sam 12288 2010-01-09 22:11 ..
-rwxrwxrwx 1 sam sam 100 2010-01-09 22:27 index.html
sam@rocket:~$ pwd
/home/sam
sam@rocket:~$
The sites enabled set up:

Code:
root@rocket:/etc/apache2# ls -la sites-enabled/
total 8
drwxr-xr-x 2 root root 4096 2010-01-09 22:24 .
drwxr-xr-x 7 root root 4096 2009-12-20 00:22 ..
lrwxrwxrwx 1 root root 26 2010-01-09 22:24 mylocal -> ../sites-available/mylocal
But I still get:
"Forbidden
You don't have permission to access / on this server".

View 8 Replies View Related







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