I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:
In my httpd.conf file, at the very end, I have the line
Include conf/vhosts/vhost_*.conf
However, when I run apache checkconfig or try to start apache, it gives me the error:
httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied
It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.
phpmyadmin files are in usr/share/phpmyadmin but i cant find anything in my apache2.conf or httpd.conf files that point to that directory.How do I find the route taken from the Server root "ServerRoot "/etc/apache2"" to the phpmy admin files.
Since the display of my notebook doesn't work very well anymore, straight vertical blue line on the right side of the screen, I want to connect an external monitor. (ADI [it doesn't say the exact model] 21 inch; resolution 1600x1200 and 85 Hz refresh rate).
I'm using Ubuntu 9.10 with kernel 2.6.31.17 and xrandr does not recognize the monitor correctly (see code of xrandr output). Adding a new mode did not work and currently it displays a resolution of 1200x768 which is horrible. In this version of Ubuntu the xorg.conf is not used anymore and is thus empty. As I have read you could create an entry in a new xorg.conf for your hardware which would be used by Ubuntu, having priority over xrandr settings.
But I do not really know what the monitor section in xorg.conf would have to look like, as the original screen would have to be set to 1200x768 or be disabled all together. The screens would have to be mirrored. Would the setting also work, when the external monitor is not connected to the notebook, so the original screen would display everything correctly.
Here some information about the system which will hopefully be useful for you. Please post helpful links I have overlooked or ask for more information.
My onboard graphics intel chip is capable of a resolution of 1600x1200 as it works in Windows:
lscpi output for graphics chip:
Code:
loaded kernel modules (relevant lines, at least I hope) according to lsmod (the driver from Intel web page is totally outdated and I think this is not the problem, so I didn't consider compiling a new driver)
and I have share1 and its subfolder " subshare " the thing i have to do is that, i have 2 assign user1 and user2 to share1 that means user1 and user2 can only access share1 through password and user3 can access only its subfolder "subshare" i have done this upto first level permission of share1 not able to do for its subfolder "subshare"
I made some change to my sysctl.conf file and it they doesn't seem to load at boot? Each time I boot I need to send a sudo sysctl -p command to load the new parameter!
1. What is the difference between files (xorg.conf and xorg.conf-vesa)
2. No matter how hard I try I can't change keyboard layout in xorg.conf-vesa (I change it in file ) but there is no actually anything changing, it starts to get annoying - for example - below goes my xorg.conf-vesa, if I uncomment and set line from
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.
I've had Ubuntu 11.04 installed on my desktop since it's release. Up until an hour ago, it was working fine. I clicked on an update from the update manager, now booting into a graphical mode is completely broken, (the start-up load hangs at 'Check Battery State ... [0k]'). I restarted my computer, and booted into safe mode, and launched the terminal. This all works fine. I then typed :
Code: sudo gdm start into the command prompt, hoping that I would be able to start things manually. Instead, it spat out this: Code:
gdm-binary[230]: WARNING: Unable to load file '/etc/gdm/custom.conf'. No such file or directory. gdm-binary[230]: WARNING: Unable to find users : no seat-id found. gdm-binary[230]: WARNING: Gdm Display: display lasted 0.070467 seconds
The last line was printed about 8 times, with slightly different times, before it gave up and failed. Some information which might help, I have Gnome 2, Unity and KDE (not sure which version), installed. My graphics card is the GTX 275, and I have driver the Nvidia driver 275.21. So yeah, I think the update has gone and moved custom.conf somewhere, but I have no idea on how to fix it. I have a graphics programming assignment due on Friday and I would be eternally grateful if I could get this fixed well before then.
I successfully shared a subdirectory of my home directory, using GNOME under Ubuntu 8.04 LTS Desktop. What drives me crazy is that I can't find this directory listed in /etc/samba/smb.conf, in a "path" line. Please tell me where is this directory specified, since smb.conf seems to be the only samba config file.
I tried to setup a dyndns, and ever since I tried to get that setup, I can't access my webmin, or access /etc/hosts/resolv.conf. But I can still access my samba shares I had created before this happened.
i am currently working on ldap server configuration and i had made changes on smb.conf file but i don't know how to save these change. am using ubuntu 9.10
Any changes in the way httpd.conf works in 9.04Yesterday I updated from 8.04 to 8.10 and then to 9.04. All works fine, except for Apache Virtual sites.I had several defined in my httpd.conf file, which I used for testing clients' websites.ince the upgrade the virtual sites are not recognised, and all access is done at the original level /var/wwwAny changes in the way httpd.conf works? checked the Apache docs, but found nothing.Here's the httpd.conf I've been using:
<Directory /var/www/clientname/htdocs/products> AllowOverride All </Directory>
Trying to get this server to work and abandoned trying to do it with Xubuntu last night and installed Ubuntu server. But now I'm stuck on Samba again as I decided to use the vi editor to edit the smb.conf file and now I can't get out of it.
I have been at this for what seems like forever but i am getting somewhere after many errors i got dhcp3 reading the file and everything is almost there but now i got an error i cannot figure out.first my config file
HTML Code: shared-network local { subnet 192.168.0.0 netmask 255.255.255.0 {
I want to edit the file ports.conf to make Apache to listen only to loopback interface as described [URL]... here ,The text extract follows
Quote:
The Listen directive specifies the port, and optionally the IP address, Apache2 should listen on. If the IP address is not specified,Apache2 will listen on all IP addresses assigned to the machine it runs on. The default value for the Listen directive is 80. Change this to 127.0.0.1:80 to cause Apache2 to listen only on your loopback interface so that it will not be available to the Internet, to (for example) 81 to change the port that it listens on, or leave it as is for normal operation. This directive can be found and changed in its own file, /etc/apache2/ports.conf
But by typing [CODE]sudo vi /etc/apache2/ports.conf [/CODE} and opening the file I am not able to edit the file After going to the Listen Directive I am not able to type 127.0..0.1, Since what I type does not appear on the screen, the Keyboard is not working. How will I be able to edit the ports.conf and other configuration files
Installed 10.04 as a LAMP. I want to be able to create a new intranet site for testing purposes.
When creating a new site with in apache, what is the recommendation for the folder? With in the var/www? Everything appears to want a domain address and since its local only, what do I use as a domain?
I have webmin installed and I would think creating a virutual server would be my first step, but I am getting hung up on the domain address.
I'm having an issue with resolv.conf being empty (apart from the resolvconf header) upon first login. I am assigned a DHCP lease fine, it also appears that DNS works briefly as all my NFS file shares seem to be working ok and they have name rather than an IP address in /etc/fstab. I have to manually re establish my lease by using the Network Manager panel each time I first login.
While trying to run the file in PHP I am getting below error. httpd.conf not found Following directories (and its subdirectories) are accesible via Apache:
We are trying to migrate from a centos server to ubuntu server, but we have some problems with an application called Topincs [url].
The installation is quite simple and I did it several time (but with ubuntu it's the first time).
Probably there are some parameters to set that I don't know, but even if the installation works fine and I can see the home page, the application doesn't work because RewriteRules aren't applied.
First I tried to ensure that mod_rewrite works fine and I found a weird situation: rewriterules work if they are in .htaccess but don't work if they are directly in http.conf.
I am new on ubuntu and I really don't have any background on making a server. To be frank is I am still a student learning ubuntu server, how to make and configure them.
My problem is that whenever I type the command: /etc/vsftpd.conf an error message says that: -bash /etc/vsftpd.conf: Permission Denied
I am still discovering what are the commands on the vsftpd server. By the way I am using the server on VMware.
I'm running a server using Debian 5, on which a few people log on to over SSH using a user account with limited permissions. Basically I want to make sure they can't run things like fork loops as a lot of bad stuff would happen were the server to hard reboot.So, how can I test what something like this will do:
Code: :(){ :|:& };: in a controlled environment, ie. so that I can kill it without rebooting?
How can modify httpd-xampp.conf's permission on my opt/lampp/etc/extra/ directory? I tried chmod-ing it on terminal, there's no error message whatsoever on the terminal but it still can't be modified.
I've been scooting around Google to try and figure out how to create ackage files.pparently their created by a utility (which is already installed on my PC) called 'autopackage'. I've been to their website (www.autopackage.org) but I can't find anything on how to actually create the .package files
I am interested in creating a photoblog on Wordpress. Before I jump in I thought it would be wise to ask a few questions here first rather than getting into trouble and then firing absurd questions left and right. I am not very experienced regarding servers but not afraid either I was reading How-to's online reagarding installing Wordpress on Linux [url] and few questions came to mind :
1) Like any other server, does the computer that will run Wordpress have to be up and running for 24/7?
2) Since I will install Wordpress on a desktop, should I be concerned about my machine being compromised? I am not an expert on internet security so this is a big concern of mine.
3) Is it a good idea to install Wordpress on a personal desktop at all? Does running Wordpress from a different partition of the hard drive (if it is possible) help at all.