Tag Info

Hot answers tagged

9

Mountain Lion removed the Web Sharing option, maybe you upgraded and had it running some time in the past? Anyway, you'll need to open Terminal for this: sudo killall httpd sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist The first will fail if you've already killed all the processes, the second disables startup.


4

Try using rewrite rules if you have apache: RewriteEngine on RewriteRule ^/users/(.*)$ http://www.example.com/profiles/$1 [R=301,L] Note that you will need ModRewrite installed and enabled in your apache config. Pulled from here if you need a method for IIS.


3

.htaccess is used for setting access to a site. its not what you need - you need to look at mod rewrite rules or vhosts and setting the vhost document root to /var/www/blog the best starting point, naturally is apache's own docs, which i have linked to


2

Firefox is caching this resource. Clean your browser cache: Firefox -> Options -> Privacy -> Clear your recent history -> Tick checkbox for "Cache" -> OK. Plain and simple. For completeness, I'll also add that if you want to force a non-cached version of a page to be displayed, using Ctrl+F5 in most browsers will force one. In the case of redirect issues ...


2

You could change your cache settings so that it checks for a new version of the page every time for all websites. Type into the address bar: about:config. Click to confirm that you want to edit the settings. Search for browser.cache.check_doc_frequency. Double-click the line. Change the value from 3 (default) to 1. For more details on this setting, see ...


2

Sounds like this is not an Apache issue, but like your index.html is using HTML frames. So, to get rid of this behavior, you'll have to get rid of the frames. Update, as this is your DNS provider adding those frames: If you have a fixed public IP address, then any normal DNS provider allows you to map your domain to some specific IP address, instead of ...


2

Another process is interfering with your timezone settings. There's a pretty concise answer to this at "what could cause Apache's time/timezone to change intermittently?". This can be particularly painful with Django -- as it doesn't handle juggling timezones very well -- and as such there are some good explanations in some Django-specific questions: Django ...


2

.htaccess isn't usually required. It is used for configuration directives that might otherwise need to be put in the httpd.conf file, and is especially useful in cases where you don't have access to the server configuration. At any rate, that probably isn't your problem. I suggest you review your httpd-error.log to see if the problem might be listed ...


2

Apache is the default user on Centos, assuming you installed from Yum. You can and should verify by looking in /etc/httpd/conf/httpd.conf. Are there other things going on with this Magento installation? Such as php suexec? php-fpm or php-cgi process? Also, the correct command would be sudo chown -R nobody.devs /path/to/magento To answer 1 and 2: Running ...


1

I think you should open port 10000 in /etc/firewall. You can do this by adding the line webmin||0x10000001|6||10000| \ to the rules at the bottom. Then start the webmin service with the command: service webmin start


1

apache is a legacy name. While originally it was used for the web server, "Apache" is now a software foundation. From a historical perspective, the Apache group were the people involved with creating httpd. Since that was the first project, the HTTP server was often referred to as Apache. These days there are dozens of projects under the Apache Software ...


1

You haven't updated your index.html/index.php or more accurately where you go when you go to the root of your seite - the stock one Apache 2 is the 'test' page. Update your document root to the appropriate location and it should work. Don't forget to enable the virtualhosts and restart apache.


1

Give this a try: #!/usr/bin/gawk -f BEGIN { RS = "</VirtualHost>\n" } { prefix = gensub("*:([^>]*)>", "\\1", "1", $2) filename = prefix "_" $4 ".conf" print "Listen " prefix "\n" $0 "\n" RS > filename } Save it in a file named, perhaps, "httpdsplit" and do: $ chmod u+x httpdsplit $ ./httpdsplit httpd.conf


1

I am assuming there is no make uninstall for apache then. Your only option is to identify what files are created and edited by the make install process and manually remove them or edit them again. Do you need to uninstall apache? It doesn't help for this occasion, but you could have used checkinstall which tracks builds made using make install and creates ...


1

Apache provides a tool call "rotatelogs". It can be configured inside the httpd.conf file, so no need to schedule a tool to do the rotation. See this page for more information: rotatelogs - Piped logging program to rotate Apache logs


1

HTTPd is the default web server that installs with CentOS. http://mirror.centos.org/centos/5/os/i386/repodata/comps.xml: <group> <id>web-server</id> <name>Web Server</name> <packagelist> ... <packagereq type="mandatory">httpd</packagereq> ...


1

Don't believe everything you read on Wikipedia. Taken from a live, recently installed CentOS 6 system: The network is started in runlevels 2, 3, 4 and 5. # chkconfig --list network network 0:off 1:off 2:on 3:on 4:on 5:on 6:off As a practial matter, only runlevels 3 and 5 ever really get used. Runlevel 3 is the usual ...


1

Let apache2 enable the module with the a2enmod command. This tool will help identify if there's any issues with you installed libphp5 module shell~> sudo a2enmod php5 shell~> sudo apachectl -M | grep php5 Syntax OK php5_module (shared) shell~> sudo /etc/init.d/httpd restart More info about enabling/disabling apach2 modules here



Only top voted, non community-wiki answers of a minimum length are eligible