Ubuntu Servers :: Any Way To Make Apache Case Insensitive?
Jan 10, 2011
Recently I've been migrating my development environment to ubuntu (desktop edition, because this is not a server, is just my computer) and I've been having some problems with apache case-sensitive (I'm an absolute beginner with it). I want to make apache case-insensitive, but I didn't find a complete and easy to follow solution online more than doing this:
From the command line, type sudo su to get root privileges.
nano /etc/apache2/mods-available/speling.conf
Type CheckSpelling on and hit ctrl-x, y to exit and save the file.
type a2enmod and then speling and hit enter.
type /etc/init.d/apache2 reload to reload apache.
Mistype a url to test it.
I found that here: [URL]. It worked for some things but I'm still having a lot of problems with capitalization. I don't wanna go back to windows an ISS. BTW I'm using ubuntu 10.10 desktop edition 32-bits, and I've not moved any apache configuration more than that described above.
View 3 Replies
ADVERTISEMENT
Jul 11, 2010
I am working with a third party that use windows to compile. When we port that code I am running into a lot of case issues where the includes are not case sensitive. Is there any option in GCC to make it case insensitive. I know its a long shot, as I have done reading and does not seem so.
View 1 Replies
View Related
Mar 12, 2011
I'm rsync'ing a bunch of files between a Windows and a Linux system. Since not all Windows care about case, some of the files on the Windows system no longer have the same casing as they had on the Linux system. But rsync now treats these files as different and uploads a new copy.
Is it possible to have rsync ignore the case?
View 3 Replies
View Related
Jul 1, 2010
I'm using Centos 5.4 and Subversion 1.4.2. I use MySQL to authz user when connect to SVN. In MySQL database, I have a username 'Harry', and in the file access control, I typed username 'harry'. Now I just can login with 'harry' user, cannot with 'Harry'. How can I check lower case on SVN before it requires authz, I tried to use AuthzForceUsernameCase Lower but apache cannot start.
This is my subversion.conf file
<Location />
DAV svn
SVNParentPath /svn
SVNListParentPath on
AuthType Basic
AuthName "Authorization Realm"
AuthzSVNAccessFile /var/svn/svnauth
AuthMYSQLEnable on
AuthMySQLHost mydomain
AuthMySQLUser username
AuthMySQLPassword password
AuthMySQLDB db
AuthMySQLUserTable user
AuthMySQLNameField userid
AuthMySQLPasswordField passwd
AuthMySQLPwEncryption md5
Require valid-user
</Location>
View 3 Replies
View Related
Feb 16, 2010
Is there a way I can mount NTFS and VFAT partitions and make them case-insensitive? Somehow I installed Linux this time around and it's all case sensitive. Argh.
View 6 Replies
View Related
Jun 19, 2010
I am downloading some files via tftp from the server (call it my server) and I need the server to be case insensitive to the file names requested. That is If I request "SoMe.TTL" and the actual file name is "some.ttl" it should send "some.ttl" back! Right now it is case sensitive and is a pain in the but because some windows clients upload files to that directory and the names can have any case. Furthermore, the file request mechanism must allow the user to input the required file name, hence the user can write using any case. Can the tftp-server solve cases by it's own? How about dnsmasq's internal tftp server? Ok, maybe I wasn't explicit above:
I need to make the fedora tftpd-server Case Insensitive!
View 2 Replies
View Related
Oct 9, 2010
I know it's against the unix way and all that but I need a regex cd for a script to automatically move up an NTFS tree.
View 1 Replies
View Related
Apr 29, 2011
I am not able to figure out how can I do case-insensitive search using the find command.
I tried
find . -name -i pattern
And it does not work.
View 2 Replies
View Related
Jan 19, 2010
I am trying to do a search for the certain books, and I am trying to make it case insensitive. what I have come up with so far is this :
Code:
Database.txt
RETARDED MONKEY:RACHEAL ABRAHAML:30:30:20
GOLD:FATIN:23.20:12:3
StUPiD:JERLYN:20:40:3
Code:
echo -n "Title: "
read Title
echo -n "Author:"
read Author
echo ""
valuecheck='grep -i "$Title" Database.txt | grep -i "$Author" | awk -F":" '{ print $1}''
echo $valuecheck
if [ $Title = $valuecheck ] ; then
echo "HOHOHO"
else
echo "too bad"
fi
The issue which I am having is that, when it does the search for the correct row to be inputted into valuecheck, it will input the value as written in the database, which is in Uppercase. For this case, if I type in stupid for $Title and jerlyn for $Author, it searches the correct row, but the awk will print "STUPID" into the variable as that is what is written in the database. So how can I make my if statement case insensitive? Currently it reads like this:
Code:
if [ $Title = $valuecheck ] ; then
which means
if [stupid = StUPiD ] ; then
How can I make the if statement it case insensitive to allow it to display "HOHOHO"
View 5 Replies
View Related
Apr 11, 2011
I'm running a server and Cogeco doesn't want that.
What I want to do is make it so when someone goes to my_domain/ apache will pretend it doesn't exist, but I want subdirectories to work still.
What I tried was denying access to /var/www, but the apache returns with a message for that.
View 6 Replies
View Related
Jan 28, 2010
I have it set up so when I go to URL... it shows my server. I'm not sure how I can make it viewable to everyone though.
View 3 Replies
View Related
Apr 13, 2010
I basicly want certian folders to deny access to all clients exept those that supply the correct user name and password. I tried following the directions here (for the basic authentication), but its not working.i have
Code:
Deny from all
AuthType Basic
[code]....
View 2 Replies
View Related
Mar 27, 2011
Is there a quick and easy way to make sure apache always starts with a certain nice value?
View 1 Replies
View Related
Aug 4, 2009
I've tried to copy my files from Xamp httdocs in windows to /var/www/html,
but I can't paste the file, what should I do so I can paste the files ?
I have logged in as a root..
View 2 Replies
View Related
Jul 17, 2011
I am trying to make my Apache server show symbolic links in a directory listing, but have so far been unsuccessful. In my latest attempt, I have placed the following code in .htaccess, in the directory with the symlinks that I want listing:
Code:
<Directory />
Options All
</Directory>
Im httpd-vhosts.conf, I have also placed the following code within the relative <VirtualHost></VirtualHost>:
View 5 Replies
View Related
Nov 8, 2010
In first place i am sorry about my horrible English. I want to make a web site with a virtual host of apache visible by all the computers connected to my networking. I put this in the end of the file "/etc/httpd/conf/httpd.conf"("192.168.1.194" is the IP address of my computer. The default gateway IP address is "192.168.1.1"):
[Code]...
It works if i go to "http://192.168.1.194/" with the browser of the computer with apache inside, but on the others PC of my networking this method don't work!
View 2 Replies
View Related
Dec 5, 2010
What software can be used to make a 'creative' of certain size, in this case 260 x 125
View 1 Replies
View Related
Oct 28, 2010
Kernel 2.6, Slackware 12.0
mkisofs 2.01
I do 'mkisofs -iso-level 1 -o image John Smith.txt'. Only an example. When I mount image, ls outputs john_smi.txt. So it has shorten to 8.3 and translated ' ' into '_'. This is in accordance with the manual, although it doesn't say the conversion will be done.
Quote:
-iso-level level
.........................
With all iso9660 levels from 1..3, all filenames are restricted to upper case letters, numbers and the underscore (_).
...........................
However, as it did not reject the file name, it should have converted it to all upper case, it seems to me. And -iso-level 2|3 does the same thing.
Code:
root@darkstar:~# mkisofs -iso-level 1 -o image John Smith.txt
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
[code]....
View 5 Replies
View Related
Mar 12, 2011
I'm trying to find out which one is safer when it comes down to recovery process in case of a drive failure
A RAID5 created in mdadm
or
a Stripe RAID created on pure LVM
the RAID is purely for data storage for a SAMBA server, the OS will reside on its own drive.Ideally the RAID physical hard drives should be re-build on another machine in case of catastrophic server failure (mother board problem, or any other random problems as an example)I can't decide which of the 2 software RAID method is more convenient and safest, don't care about performance, it'll be a dedicated server for mass storage, it's going to mirror other 3 file servers on fakeRAIDs (dmraid), it's simply a redundant backup for the backups
The important goal here is portability.from what've read it appears that LVM might be more portable?but according to some dated (2009) info the mdadm seems to be a bit buggy when it comes to rebuilding the array, yet LVM doesn't appear that safe either which one would you pick for ease to rebuild on catastrophic failures?
View 2 Replies
View Related
Mar 12, 2010
I tried to add my wife , and when I put in a password for her, this error comes up."Please set a valid user name consisting of a lower case letter followed by lower case letters and numbers." I did all that and I still can't set a password for her.
View 3 Replies
View Related
Feb 17, 2009
I'm quite new to xen and only have access on a production box (which happens to be debian) so I am unable to employ my hack it attitude in case i bring the whole thing down. When i run xm list it displays my domains but my states are rather confusing.
[Code]...
View 2 Replies
View Related
Oct 6, 2010
I've written a simple perl code to learn switches in perl.My code is pasted below,
#!/usr/bin/perl
$opt = 1;
switch($opt) {
[code]...
View 3 Replies
View Related
May 3, 2010
I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
View 5 Replies
View Related
Mar 10, 2011
I am dealing with one FORTRAN 90 code, have made small changes.
milenko@milenkons:~/mt4$ make mt4
make: 'mt4' is up to date.
milenko@milenkons:~/mt4$ ifort -c MT2DDIB1.FOR
milenko@milenkons:~/mt4$ make mt4
make: 'mt4' is up to date.
milenko@milenkons:~/mt4$ make mt4
make: 'mt4' is up to date.
milenko@milenkons:~/mt4$ make mt4
make: 'mt4' is up to date.
I go for make command but it does not see that the source code has been modified.Than I do compilation from command line,try make again but no use.
F95=ifort
FFLAFGS= -O1
mt3: driver_mt2ddi.o constants.o settings.o params.o mt2dmod.o fdsystem.o mt2ddat.o mt2dsens.o
$(F95) -o $(FFLAGS) mt3 constants.o settings.o params.o mt2dmod.o fdsystem.o mt2ddat.o mt2dsens.o driver_mt2ddi.o
driver_mt2ddi.o: driver_mt2ddi.for constants.o settings.o params.o mt2dmod.o fdsystem.o mt2ddat.o mt2dsens.o
$(F95) -c $(FFLAGS) driver_mt2ddi.for
View 2 Replies
View Related
Apr 13, 2010
First off please don't say "go read the man page". I need instructions for newbies
I basically want certain folders to deny access to all clients exept those that supply the correct user name and password. I tried following the directions here (for the basic authentication), but its not working. Someone kind enough to help out a confused person like myself?
View 4 Replies
View Related
Apr 11, 2011
I have Joomla installed at /var/www/joomla, if I navigate to http://localhost/joomla, I get a 404 error, but if I add index.php, the page loads. What is wrong?? Also I am not able to navigate to the administration part of Joomla for the same reason, typing in index.php doesn't load it in this case. Yes I have verified that all files are present in the directory.
View 7 Replies
View Related
Apr 14, 2011
I am very new to using Linux. I am trying to configure Apache. I have located the default in /etc/httpd and did a yum install httpd. Now, with this done, I am lost as is to how to configure. I am trying to make an ssl website with apache.
View 3 Replies
View Related
Nov 11, 2009
I have made out a little software as to talk with my friends through network . there are two parts : one is listening to receive messages ,the other will send messages. but the firewall is bothering .so I want to know if I can make my software listen to port 80 while apache is also running .
View 11 Replies
View Related
Jun 1, 2010
I 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 Related
Jun 23, 2010
I'm having a real problem getting Apache to allow a symlink on a particular folder. The symlink is at /var/www/html/images and it points to /home/foo/images.Here is the relevant section to my httpd.confQuote:
<Directory />
Options +FollowSymLinks
AllowOverride None
[code]....
View 6 Replies
View Related