Jump to content

neogranas

Members
  • Posts

    73
  • Joined

  • Last visited

    Never

Everything posted by neogranas

  1. So I am assuming that you are trying to browse to these websites from the same computer that is the server? If so, try changing the * in the VirtualHost tag, to 127.0.0.1 The other thing you may want to do is make sure all the directories are in place with the right permissions.
  2. Hmm...You say you are using a Ubuntu/Debian server? Look in /usr/sbin for apachect: updatedb locate apachectl You may have to type: /usr/sbin/apachectl configtest I noticed we haven't checked on the NameVirtualHost thing from the beginning. Check your apache conf file for that line. Mine is set like this: NameVirtualHost *:80
  3. Just have whichever domain you want to be the "main" one for that server. Then that should work. You can also try: httpd -t That may be able to do the same thing.
  4. http://isoredirect.centos.org/centos/3/updates/i386/RPMS/ You can use "Parent Directory" to go back and get your correct version of CentOS 3.x and then go to updates/arch/RPMS/ and get php-mysql Then use yum localinstall php-mysql-ver.ent.arch.rpm
  5. Do you have VirtualHosts set up in your apache configuration?
  6. What do you do when you get this error?
  7. My server is set up to use /etc/http/conf/httpd.conf, but in that file I have this: # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If this is not set to valid DNS name for your host, server-generated # redirections will not work. See also the UseCanonicalName directive. # # If your host doesn't have a registered DNS name, enter its IP address here. # You will have to access it by its address anyway, and this will make # redirections work in a sensible way. # #ServerName www.example.com:80 ServerName www.domain.com:80 I put my domain name in the www.domain.com part, but you don't need www. That is what I think your server setup is looking for. You should also be able to use a command to check if the syntax is proper: apachectl configtest
  8. Whenever you specify the <VirtualHost> tag, you need to use <VirtualHost IP:Port>, I'd suggest *:80 to get any IP on port 80. What is in your apache conf file for virtual hosting, or the hostname of the server?
  9. How did you install it? What is the O/S you have on your server? Have you set the permissions on the perl script to 755?
  10. You can also check your httpd.conf/apache2.conf for the line that is similar to this: LoadModule rewrite_module modules/mod_rewrite.so Make sure it's uncommented, there may also be a line starting with AddModule for the so file. It may not all be like the one I provided, seeing as my file is /etc/httpd/conf/httpd.conf on a Fedora 9 server.
  11. You can type httpd -l as root to see if it's compiled in, then make sure when you use your .htaccess file have RewriteEngine On, I see that forgotten a lot.
  12. I may be leading you on a side trail that goes no where, but you may also want to look at putting in an 'allow from all' line in there to make sure apache isn't blocking access.
  13. It looks like they stopped working with Fedora at Fedora Core 3. So be careful because it may not be fully compatible. It's part of the DAG repo, so you may be able to find a way to get that repo in your repo lists then do a yum install.
  14. What operating system are you using and do you have hald installed and running?
  15. This link is on a page, I am assuming? What code are you using and can you post that code?
  16. Possibly try to use virtual hosts directives? I'll admit I'm not the best with apache, but with my limited understanding I think it could work.
  17. Fefora 9 Kernel 2.6.26.3-29.fc9.i386 PHP 5.2.6 Apache 2.2.9
  18. I may be wrong, but I think I did do that. I don't have mod_php installed either. Do you happen to have a walk through on how to install through the method you mentioned so I can be sure I have it right?
  19. I've scoured google, the OS forums for my linux distribution, apache.org, php.net and other places. I couldn't find anything on how to set up my home server to have a php.ini file work outside /etc I've tried putting a php.ini with the settings I want in the directory I need them in, but it didn't recognize it. I made the same changes to /etc/php.ini and it recognized the changes so I know I've got the right syntax. I searched this website and found this post about it, but the link posted no longer works for me. Can anyone tell me what I would need to do in order to allow a php.ini file to be accepted outside the root of my server?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.