OpenSUSE Network :: Apache Vhosts Not Working Correctly
May 19, 2011I have a fresh install, everythings working great, just trying to get my vhosts working, i set them up in yast, but all the requests just go to the second vhost.
View 2 RepliesI have a fresh install, everythings working great, just trying to get my vhosts working, i set them up in yast, but all the requests just go to the second vhost.
View 2 RepliesI have a problem to correctly configure apache / subversion and mod_dav in openSUSE 11.2 I have setup a virtual host on my home server (because I need to access it from the Internet), that should be a subversion server. The subversion root directory is the
Code:
/srv/svn/repos
I plan to use a separate directory for each project.
So, the svn tree will be/srv/svn/repos/project1/....
/srv/svn/repos/project2/....
/srv/svn/repos/project3/..
Apache serves the web pages (actually the directories) but since the documentroot and the SVN root are the same, it cannot handle the SVN repositories correctly. So, I re-read the Setting up a Subversion server using Apache2 - openSUSE how-to and followed it's suggestion. (Use a Location outside the document root) Anyway, the problem is that I have a 404 error, which of course is normal, since there is no alias set for the /rep location I use.
[Code]...
I have a hp zd 7000, i really like this laptop, the onboard ethernet will not work at all. i purchased a dynex wired ethernet pcmcia card to get on the internet with. i have had no luck getting on the internet with it it will light up so i am getting power but no transmitting light works at all i have three net work cards listed in the system. one is the wireless. and the other two are the wired eth0 is the onboard and eth2 is the dynex what can i do next to determine the problem i do not use the wireless at all.
View 1 Replies View RelatedI'm switching internet providers and right now have service with 2. I tried switching my server over today, and ran into trouble so decided to switch it back. I got everything set up again, and it all seems to work - except for ONE of my vhosts. The others work as expected. One (the only "real" site I host) simply hangs. I am "watching" the log file, and the top-level request for "/" (sometimes) comes through and reports response code 200. But, none of the other files (images, css, etc) get requested, and the page never loads.I'm not sure where to even start. Apache is fine since the other vhosts work. I didn't make any changes to my config - except for changing the ip address in my dns. But, that's the same for all vhosts.
It may be worthwhile to note that I changed it back when I tried bringing up the site with the new ISP and it brought up my (new) modem settings with the url. I panicked and couldn't figure out how to fix it.. I thought maybe someone could have been playing with my modem settings (I was automatically logged in as administrator), so I set it back to factory settings. Then I couldn't get the internet to work at all, and changed it back to my original service. Now everything works except for the one vhost.
I have a friend that has a problem with his site on my server.He doesn't have any problem on other servers so I guess there's something wrong in the config that I can change.The site is in /html_doc and then he has a couple of other forlders for example, /api
View 8 Replies View RelatedI have an urgent issue with my apache. Since last night approximately 50% of my vhosts are responding very slowly. That means I see a blank page for 1 minute and then the content comes up real quick.I restored the httpd.conf file but it didn't solve the problem.
View 4 Replies View RelatedI desperately need to get my apache server on OPenSuse to use the worker MPM I have tried simply placing worker in the quotes of the apache file /etc/sysconfig/apache2 but when I stop and start apache in the task monitor it is still showing the httpd2 processes to be prefork. Also there seems to be a problem on restart saying it cant find MPM.
View 9 Replies View RelatedI am running a quad core centos 5.4 box that is having a strange problem with dovecot. The administration panel is able to send emails through dovecot but not any of the user accounts (ie with webmail). I've done a bit of research with what could be wrong but haven't had any luck so far I am also having a weird problem with apache: on a c++/php bittorrent application I was going to be running on a subdomain of my main site I get a 500 error every time I try to log in. The only way to get rid of the 500 error is to clear the chache (so its horribly broken somehow). The error generated in the log whenever I try to log in is that "ffmpeg is already loaded" (which I am running on the main site and is critical). Is there a way of either repairing my apache install or excluding ffmpeg on the subdomain in the conf or something?
View 2 Replies View RelatedVuze downloaded an update, and now everytime I use it keeps telling me to re start for the update to have an effect. When I re start, same thing happens again tells me it needs to restart. I'm using Gnome and openSUSE 11.3. I checked older posts for a solution it seems this has happened before. Do I just wait for a new version to come out of the repos?
View 1 Replies View RelatedI recently installed SuSE 11.4 (kernel 2.6.37.6-0) and it all works very nicely EXCEPT for the KDM login. I am using kde 4.6.0 and have the latest updates for 11.4 installed and at install time, I left the automatic Login box checked which works ok. However, when I go to the 'Personal Settings - configure desktop' and change the Login - convenience' to UNcheck the Auto login box, it does not change the Login action - I stlll login (without a login name and password screen appearing). I have looked at the file - /usr/share/kde/config and the kdmrc file does change to read 'autologin' true (or false) when I make the changes in the configure desktop GUI, but this has no effect on my actual ability to 'login' automatically all the time!
View 1 Replies View RelatedI've just installed Opensuse 11.3 on m Dell Studio 15, and am having problems getting the wireless card to work. I've installed the proper driver (I think), using ndiswrapper, and have blacklisted the conflicting driver (called ssb) to the 50-blacklist.conf file in /etc/modprobe.d/. My problem is that the ssb driver is still appearing as an alternate driver when I use the command ndiswrapper -l in the terminal. Where do I go from here? Am I correct that the ssb driver is not blacklisted correctly?
View 8 Replies View RelatedI installed 11.4 and it seems to be working fine. To run few windows application I need WINE. I installed WINE using YAST Software Manager. But when I install application in WINE it's not working correctly. The same application is working fine in MINT/WINE.
View 2 Replies View RelatedI just did a fresh install of ubuntu 9.10 and install apache2 webserver with php5 and mysql, but for some reason I have no idea why but when upload files to the computer running apache2 webserver
http://69.242.228.170/ is the link to the ubuntu system It's not displaying the website correctly and it's not working on any pc on my network either, but it looks fine in dreamweaver when I was designing it on my laptop. list of all the files and folders in the /var/www path
Code:
root@requiem:/var/www# ls -lh
total 92K
-rwxr-xr-x 1 root root 446 2010-02-25 18:27 bg.gif
-rwxr-xr-x 1 root root 2.3K 2010-02-25 18:27 contact.php
-rwxr-xr-x 1 root root 143 2010-02-25 18:27 content_bg.gif
[Code]...
I've a server with opensuse 11.4 (from a 11.3 upgrade), but I can't run Apache.. I've tried latest version (official repository and Apache repository), but it give me always same error:
[error] (38)Function not implemented: apr_socket_accept: (client socket)
I've have removed and reinstalled apr/apr-utils also, but nothing..
I have installed openSuse and set up a as web server have apache2 running but need to change the MPM to worker. How is this done, I am new to OpeneSuse and Unix/Linux I know where to change the worker settings I just need to enable it over the prefork default. I know how they work I just need how to change to worker.
View 3 Replies View RelatedI was trying to set up a virtual host, but I could not find a sites-available to it. What is its alternative
View 3 Replies View RelatedThere seems to be many different ways of controlling bandwidth usage of downloads of content from Apache2. Does anyone know which is the standard module deployed/deployable in OpenSuse?
View 2 Replies View RelatedApache is set to start on runlevel 2, 3 and 5, just like MySQL. For some obscure reason this always fails. I tried resetting the runlevels, but this did not help and I always have to start apache manually after reboot.
How can I analyze this problem? In the Apache logs I don't find the cause. Is there an other log I can check?
I am running 11.3 64bit. I need to set up a simple web server, and I was trying to follow this tutorial to do it HowTo: Configure a Linux Apache Web Server on Suse/openSUSE for SSI, Includes, CGI, Common Gateway Interface, AddHandler, ExecCGI, AllowOverride, htaccess, DocumentRoot The web server is running but this part could not be applied and I need to change the ownership. it seems the command lampserver does not exist.
[Code]...
Does anybody know where the Apache benchmark program 'ab' is for opensuse? I don't find it installed or in the standard repositories.
View 3 Replies View RelatedI 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 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 RelatedDear all, I have system running LAMP and acting as a regular webserver.After running the setup for quite some months, I start having major issues:Symptoms:1. Applications do not respond neither from LAN nor WAN - SSH daemon, Apache, MySQL, FTP2. Network still seems to work for ping and port listeners3. Telnet is still successful for 21, 22, 80, 33064. Server has to be restarted manuallyTrying to find out the issue, I went through /var/log/ looking for major issues or warnings. But nothing seemed plausible to me to understand the issue - except I knew I was running out of disk space a few times.Not being able to identify nor replicate the issue, I replaced the hardware running 24x7 since quite a few years. Doing this, I migrated at the same time from OpenSUSE 10.1 to 11.3.The machine itself is behind a firewall and only the above mentioned standard ports are accessible
View 4 Replies View RelatedI'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.
I think I put my question on a wrong sub-forum. My problem is I can't get apache to produce right output to XMLHttpRequest responseText but instead it displays php source code. On another server the same code works as it should.
When I open the php script on a browser window it works as it should.
this is the thread in programming sub-forum Apache sends php source code to Ajax - openSUSE Forums
I'm using Firefox 3.04 and SuSE 11.1
Anyone know what this signifies in the Apache logs files:
Code:
[Tue May 04 20:56:06 2010] [error] [client *******] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Tue May 04 20:56:06 2010] [error] [client *********] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Tue May 04 21:05:18 2010] [error] [client ********] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Tue May 04 21:05:18 2010] [error] [client ********] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
I have both apache and tomcat services running, both in their standard doors (tomcat 8080, httpd 80). I need to setup tomcat to run on door 80 instead of httpd. I changed httpd door with success to 8180. Now I want to change tomcat6 door to 80, and I did that by editing server.xml config file of tomcat. After restarting tomcat, the system tells me it's ok, but I can see that it's not running on 80, nor at any other door. A simple nmap search confirm that. What should I do to have tomcat running in door 80?
View 5 Replies View RelatedI have written a simple perl program to add a command to iptables. Here is my code :
Code:
#! /usr/bin/perl
print "Content-type: text/html
";
system("iptables -A FORWARD -s 192.168.0.2 -j DROP");
I put this file in cgi-bin folder of Apache server. Here is my problem : when I run this file with shell as root user it makes change to iptables, but when I use my browser to run this file, it doesn't make any change. I'm sure this is because Apache doesn't have permission to manipulate iptables. How can I start Apache as a user with root privileges ?
I am unable to examine Apache httpd error log from YaST2 because the lines are too long; the browser just truncates them and thus it does not show any description. The only option is to save it. However, when I chose that option, YaST2 encourages me to save it in /tmp, and as soon as I do that, the log becomes accessible to every user!
View 5 Replies View Relatedi am trying to set up LAMP on an old pc i have installed linux, apache, mySQL and PHP following this guide Installing Apache2 With PHP5 And MySQL Support On OpenSUSE 11.3 (LAMP) | HowtoForge - Linux Howtos and Tutorials. i have installed phpMyAdmin but when i try and acess it i get this error
Error
MySQL said:
Cannot connect: invalid settings.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
[Code]...