Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No actually I get a bunch of errors. The installer didn't work, when I clicked finish it just brought me to a white screen.
When I go to 127.0.0.1 it was saying "it works." I've rebooted sense then and now it's giving me a 404 "The requested URL /apache2-default/ was not found on this server." I don't see why it's trying to loat apache2-default when I have index.html and even still have a folder "forum" in /var/www.
you can take a look at the apache2.conf file or maybe it is httpd.conf where most cofiguration is set. The variable where apache looks for documents is called
DocumentRoot="/path/somehwere"
if it set to /var/ww/apache-default or similar then apache now is in trouble to find that. It cannot serve any pages if this setting is not adjusted. Every page thh is to be displayed must reside inside of this directory...
after changing config you have to restart the server to put changes into effect...
Think I found the problem. I didn't look at the config files but httpd.conf is empty. In fact there's no configurations there except mods for php and apache2.conf which is basic stuff, none of the server roots and standard apache configurations (like <directory> stuff).
To turn off the default it works page go to (assuming default installation) /etc/apache2/sites-available/ and edit the file called default you are looking for this string RedirectMatch ^/$ /apache2-default/ put a # in front of it and then restart apache with this command /etc/init.d/apache2 force-reload and then test out and try the installer again. If you do to the directory and just see the listing of the files php may be setup incorrectly. I would also try this create a new file called test.php and put this code into it
Yeah that worked thanks. I used to know a lot about apache's config files but the past year or so every distro I've installed apache2 with had everything set up and working automatically (even php and mysql).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.