Powerlord
  • Member for 12 years, 5 months
  • Last seen more than 3 years ago
Ubuntu Apache: httpd.conf or apache2.conf?
22 votes

These are not your only options. On Ubuntu/Debian, Apache also processes all the files in /etc/apache2/sites-enabled/ (which should be symlinks to files in sites-available/ directory, managed by the ...

View answer
Finding the current user authenticated by basic auth (Apache)
3 votes

Shtééf already mentioned $ENV{'REMOTE_USER'}, but if you're using CGI.pm, it's also returned by the remote_user() function. my $cgi = CGI->new(); print $cgi->remote_user(); # Prints user name

View answer
.htaccess RewriteEngine on breaks CGI Application
2 votes

Chances are that mod_rewrite is not currently enabled in your Apache configuration (usually in httpd.conf). If it is enabled, it would look something like this: # For Unix-like OSes LoadModule ...

View answer
Setting a script to run at boot on Ubuntu
2 votes

As an alternative option, you can put it in the specific user's crontab, like this: @reboot command-to-run Edit: Before I forget, as root, you can edit a specific user's crontab with crontab -u ...

View answer
Screen resolution resets in Vista
Accepted answer
1 votes

I had the screen resizing issues with Vista Ultimate x64 on an nVidia GeForce 8600 GT when the monitor came back from Power Saving mode. What's notable about this bug is that, at least on my machine, ...

View answer
Does Windows Vista cache application icon?
1 votes

Previous versions of Windows cache icons, so I can only assume Vista does as well. Traditionally, there's no option labeled "refresh icon cache", but changing the screen resolution or icon size will ...

View answer
Apache: Using '/' as fallback for non-matching Locations
0 votes

I'm not sure if this will work, but you could try pointing the 404 error document to the fallback location. ErrorDocument 404 /

View answer
Apache 2.2 localhost VirtualHosts problems
Accepted answer
0 votes

This may sound simplistic, but did you restart Apache after making these changes? Edit: Also, is it mydomain or mydomain.dev? You seem to switch back and forth between the two.

View answer