Ubuntu Servers :: Make Sure Apache Always Starts With A Certain Nice Value?
Mar 27, 2011Is there a quick and easy way to make sure apache always starts with a certain nice value?
View 1 RepliesIs there a quick and easy way to make sure apache always starts with a certain nice value?
View 1 RepliesI'm running a server and Cogeco doesn't want that.
What I want to do is make it so when someone goes to my_domain/ apache will pretend it doesn't exist, but I want subdirectories to work still.
What I tried was denying access to /var/www, but the apache returns with a message for that.
I have it set up so when I go to URL... it shows my server. I'm not sure how I can make it viewable to everyone though.
View 3 Replies View RelatedI basicly want certian folders to deny access to all clients exept those that supply the correct user name and password. I tried following the directions here (for the basic authentication), but its not working.i have
Code:
Deny from all
AuthType Basic
[code]....
Recently I've been migrating my development environment to ubuntu (desktop edition, because this is not a server, is just my computer) and I've been having some problems with apache case-sensitive (I'm an absolute beginner with it). I want to make apache case-insensitive, but I didn't find a complete and easy to follow solution online more than doing this:
From the command line, type sudo su to get root privileges.
nano /etc/apache2/mods-available/speling.conf
Type CheckSpelling on and hit ctrl-x, y to exit and save the file.
type a2enmod and then speling and hit enter.
type /etc/init.d/apache2 reload to reload apache.
Mistype a url to test it.
I found that here: [URL]. It worked for some things but I'm still having a lot of problems with capitalization. I don't wanna go back to windows an ISS. BTW I'm using ubuntu 10.10 desktop edition 32-bits, and I've not moved any apache configuration more than that described above.
I've tried to copy my files from Xamp httdocs in windows to /var/www/html,
but I can't paste the file, what should I do so I can paste the files ?
I have logged in as a root..
I am trying to make my Apache server show symbolic links in a directory listing, but have so far been unsuccessful. In my latest attempt, I have placed the following code in .htaccess, in the directory with the symlinks that I want listing:
Code:
<Directory />
Options All
</Directory>
Im httpd-vhosts.conf, I have also placed the following code within the relative <VirtualHost></VirtualHost>:
I just moved back to openSUSE after spending almost 2 years in ubuntu-land. What happened to the fonts? Why are they so ugly? To me it looks like they are poorly rendered. I installed openSUSE 11.2 on another computer to confirm the problem... it persists. I took some screenshots to compare my settings.
Ubuntu: [URL]
openSUSE: [URL]
The second screenshot doesn't show, but both settings are using the exact same fonts and the same size. (Except the Window title font). From those two, it should be very clear that Ubuntu renders them more nicely. I don't want to start an UbuntuopenSUSE flame.. How to make my openSUSE machine display nice fonts.. ?
In first place i am sorry about my horrible English. I want to make a web site with a virtual host of apache visible by all the computers connected to my networking. I put this in the end of the file "/etc/httpd/conf/httpd.conf"("192.168.1.194" is the IP address of my computer. The default gateway IP address is "192.168.1.1"):
[Code]...
It works if i go to "http://192.168.1.194/" with the browser of the computer with apache inside, but on the others PC of my networking this method don't work!
When I open top and look at the running processes, there a bunch that are -5 in the nice and 0 with everything else.
[Code]....
I'm looking for a good jukebox software, by good, I mean, easy to use, nice web panel, and useful features. (Okay, it's a bit vague...I admit it) So I need your help to find the "best" one (I know it would be even better to try every solution, but I'm sure I will not be able to see every features as you might have seen) I've seen so far 3 good projects:
- Ampache
- Jinzora
- and Subsonic
I've tried Ampache and Subsonic thanks to their demo. Unfortunately I didn't manage to get a demo of Jinzora. Ampache seems a bit 'old fashon' (The interface is not very clear, not very user friendly, ...) but seems to get good features. inzora, according to the screenshots I've seen, the interface is quite complete. And Subsonic seems to be a really good one (but in Java), a lot of features and a nice interface. I'm not asking you which one do you think is the best, but which one do you prefer and why ? Which useful features, pros and cons, etc.
I've been pulling my hair out on this one. I haven't had to reboot my server in many many moons, but when I did recently, everything fired back up just fine... except httpd!The strange thing is that if I log in after reboot and simply type:
Code:
service httpd start
It starts up just fine!
[code]....
I googled upto my capability but cant find answer so asking you In one of my apache 2.0.52 machines, we are using worker MPM model. Even if I use 1 start servers, the # of http processes it starts is 5. No matter what value I pass in StartServers, I dont see more than 5-6 http processes
MaxClients 1
ServerLimit 1
ThreadsPerChild 1
StartServers 1
I've installed MongoDB and I want init to start the database with the --journal flag. I'm quite rusty on how init works, but I know it involves the /etc/init and /etc/rc directories.I've found /lib/init/upstart-job and someone in the chat is suggesting that I just edit that bash script, but I can see it's involved with more than half the system service, so I'm a little hesitant to edit it. In fact, I'm pretty sure if I followed that advice I'd really screw up my system and then the person "helping" me would just stop responding.
View 1 Replies View RelatedHow can I make slackware startx whenever it starts instead of having to go login as root and type startx each time?
View 6 Replies View RelatedTo make Ubuntu work on my computer I need to select the noapic option NOW How do I make certain that the noapic option is selected always when ubuntu starts after ubuntu has been installed?I would like to install Ubuntu 10.10 on my computer togheter with windows 7
View 4 Replies View RelatedHi all,
how can I make vncserver starts on boot?
Realvnc was installed by "apt-get install vnc-server" command.
There in NO start-stop script in /etc/init.d/ (is it ok? ), so I can't use update-rc.d. When placing
vncserver
or
/bin/bash -c "cd /root/ && vncserver :1" 2> /tmp/vncstart &
in rc.local it starts nothing but "vncpasswd //.vnc/passwd" (and YES, there is password in /root/.vnc/passwd)
Please, help!
How to make firefox online by default. It always starts in offlin mode.
View 2 Replies View RelatedThe time the server smbd and nmbd functioned normally but when I restart the service he returned smbd nmbd not normal but when I try to start it the following error occurs:
Code:
service nmbd start
start: Job failed to start
service nmbd status
nmbd stop/waiting
[Code]....
I have a small network of an Ubuntu server 10.4 , Debian server, Win XP, and an ubuntu desktop 10.4. I have configured a DNS server and DHCP server successfully on my ubuntu server, also a slave DNS server on Debian. I recently configured apache2 as part of LAMP on ubuntu server, but when I type my ServerName in the URL of my Win XP browser, I get this response: The webpage "mansour.net" cannot be found DNS error occurred. Server cannot be found. The link may be broken.
I have an A Record in my DNS zone file for mansour.net and have that as my ServerName in apache2 Definition file, but I don't know why it is not working. I am trying to learn to install and configure various servers on ubuntu.
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 RelatedI want to run a web server.
I've done
When i do [url] i get a blank page.
I have installed windows on c: and the ubuntu on d: drive..Is it poossible to make ubuntu as first option when computer starts?
View 3 Replies View RelatedFirst off please don't say "go read the man page". I need instructions for newbies
I basically want certain folders to deny access to all clients exept those that supply the correct user name and password. I tried following the directions here (for the basic authentication), but its not working. Someone kind enough to help out a confused person like myself?
I can make a connection to the vpn server, the connection starts, but nothing happens! My IP address remains the same as previous! There is nothing added to my Knetworkmanager, I'm a beginner I should use a pcf file for my vpn connection. I use it properly, I'm sure because the connection starts and an icon is added to my panel and remains until I disconnect.
I checked it via ifconfig -a, the last part (which is for vpn) is:
Code:
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:141.213.169.76 P-t-P:141.213.169.76 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1390 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
I have Joomla installed at /var/www/joomla, if I navigate to http://localhost/joomla, I get a 404 error, but if I add index.php, the page loads. What is wrong?? Also I am not able to navigate to the administration part of Joomla for the same reason, typing in index.php doesn't load it in this case. Yes I have verified that all files are present in the directory.
View 7 Replies View RelatedI am very new to using Linux. I am trying to configure Apache. I have located the default in /etc/httpd and did a yum install httpd. Now, with this done, I am lost as is to how to configure. I am trying to make an ssl website with apache.
View 3 Replies View RelatedI have made out a little software as to talk with my friends through network . there are two parts : one is listening to receive messages ,the other will send messages. but the firewall is bothering .so I want to know if I can make my software listen to port 80 while apache is also running .
View 11 Replies View RelatedI want to enable Pretty URLs in Concrete5 and Joomla CMSs. So far I have- enabled pretty urls in the CMS- created .htaccess files (as they showed)- changed AllowOverride None to All in /etc/Apache2/httpd.conf <directory>- restarted ApacheBut the pretty urls still don't work, When I click any link on either site it gives me a page not found error. If I use the "non-pretty" URLs, all the links work. So I guess Apache either doesn't read the httpd config file or it doesn't read the .htaccess files or something else. Has anyone got this working? What else did you do?
View 9 Replies View RelatedI'm having a real problem getting Apache to allow a symlink on a particular folder. The symlink is at /var/www/html/images and it points to /home/foo/images.Here is the relevant section to my httpd.confQuote:
<Directory />
Options +FollowSymLinks
AllowOverride None
[code]....