1,520 Topics
| |
hello evryone, i'm changin the url by [CODE]RewriteEngine on RewriteRule ^forum-(.*).html$ ./forum.php?id=$1[/CODE] now if the url is forum.php?id=231, how can i auto change the url to forum-231.html thanks, haim . | |
Hi all, I am posting this thread to learn a bit of how mod_rewrite works. I want to specificly learn to make dynamic urls from websites, become seo friendly: [B]MADE UP LINK, DONT FOLLOW[/B] [url]www.sitename.php/index.php?sid=2&pid=231[/url] [B]MADE UP LINK, DONT FOLLOW[/B] look like: [url]www.sitename/furnitures/sofas[/url] And learn how to prevent duplicate content … | |
You will have to excuse if this question seems stupid but while I am a fairly skilled PHP developer I am a total newb when is comes to apache and server config. I am trying to have a single page accept all the request for directories on my site unless … | |
A specialist mobile software management company, [URL="http://www.redbend.com"]Red Bend Software[/URL], has today announced what it claims to be the first Linux based mobile phone complete with fully over the air customizable software. The breakthrough has been made possible by partnerships with companies such as Digital Airways, Opera, Synchronica, Trolltech and Zi, … | |
I'm trying to startup my Ubuntu Apache install and there's a problem loading LDAP modules that I can't seem to resolve: [QUOTE]httpd: Syntax error on line 65 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2.2/modules/mod_authnz_ldap.so into server: /usr/local/apache2.2/modules/mod_authnz_ldap.so: undefined symbol: apr_ldap_url_parse [/QUOTE] Any help would be appreciated, thanks. | |
All, I am trying to install CAS on an Ubuntu Server and the only problem seems to be installing Apache Modules. I am setting this up to be (almost) exactly like a Solaris server we have currently up and running, but I can't seem to figure out how to install … | |
hi Friends, Hi, I know that it must be done via /usr/bin/sa-update, but what should I take care of when doing this? and where are located the rules in use. | |
hi frndz... i m new to linux i need to config sendmail MTA and i hav to use procmail as filter and cyrus as LDA... plz help me guys ... i need a sendmail config file for the above mentioned options .... | |
Dear all, When I try to configure mail filtering through spamassassin to sendmail mail server via spamass-milter, spamass-milter's README file says to put following lines to the sendmail.mc file and generate the sendmail.cf file using macro, [CODE]INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/sendmail/spamass.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, … | |
I stumbled across an interesting interview with Linus Torvalds over at [URL="http://apcmag.com/7012/linus_torvalds_talks_about"]apcmag.com[/URL] in which the man himself would appear to be confirming that there will be no Linux kernel 3.0 The first hints are given when he responds to a question concerning why the 2.6 kernel has been around for … | |
Hi! I have htaccess file with this: [CODE] deny from all [/CODE] When I open the directory, access is forbidden! But when I open some file, it doesn't work. Can somebody help me? | |
I'm having problems with .htaccess rewrite rule. I want to convert: [QUOTE][url]http://www.domain.com/?d=SOME_STRING[/url][/QUOTE] To: [QUOTE][url]http://www.domain.com/download.php?file=SOME_SRING[/url][/QUOTE] So far I've some up with this: [CODE]Options +FollowSymlinks RewriteEngine on RewriteRule @|\?d=(.+)$ download.php?file=$1[/CODE] Anyone have an idea on why this isn't working? *mod rewrite is enabled* | |
Hi, I am new to Java, JSP and would like to start web development in JSP and want to know about a tutorial or some steps on what do I need to start web application development in JSP/Servelts/Java. Would really appreciate some help. thanks, J | |
I've got a problem with our live server. Occasionally a page will not load, and the following error is displayed in plain black text on a white background: [QUOTE]Server Error The server encountered an internal error and was unable to complete your request Application server is busy. Either there are … | |
I am looking for step by step details of how to deploy django websites in apache2 server with one example. I am using ubuntu operating system Please give some link or give the details. | |
Hi everyone, having a real problem with htaccess at the moment. If it can be done i bet its really simple but after hours of serching and trying ideas out i have got no where, any help would greatly be appreciated. ---- [B]problem:[/B] What i am trying to do is … | |
Hi, I have used mod_rewrite quite a bit so I am surprised I cannot get this to work. I think the issue may be with the ? in the url but not sure. Background: LAMP server, php/Mysql site with mod_rewrite set up and working correctly. The main rewrite rule is … | |
Hello all, I've been searching for a couple of days for this but with no luck, I'm not even sure that my searches are correct, so: Scenario: On a http server (apache, OS Centos), I have a lot of folders located on this path: [I]/var/www/folders/[/I] named: [I]R001, E001, utils,[/I] ... … | |
I downloaded the php. MySQL and the apache but, I am facing a problem in which the code is being displayed and not the web page. There must be a configuration problem. Any help would be much appreciated. | |
I have 2 virtual hosts set up and was wondering how would I have Apache serve: a) all file extensions? b) certain file extensions? | |
Is there a way to write a line in .htaccess so that a rewrite rule will NOT rewrite the URL if a certain query_string is found or if a certain page is referring to the page about to be rewritten? | |
I have all but completed my design for an application in PHP and MySQL using apache as my web server. However, I was wondering whether apache supported transaction logging which would save me creating code with numerous database calls to log all activity myself. I appreciate I may have to … | |
Ahhhh! OK, so I've been learning PHP for about 7 years now on and off, but never have I taken the time to look into URL rewriting. Until now I've not needed it, but you can guarantee the one thing you think you wont need, you need! I have the … | |
Does anyone know about cleaning up URLs for CMS? I had a .htaccess file containing the following code (or so far as I can remember) [CODE] RewriteEngine On RewriteRule ^([a-z])$ /index.php?url=$1 [L] RewriteRule ^/article/([a-z])$ /index.php?url=$1&type=news [L] [/CODE] which was working fine ie: [url]www.mysite.com/somepage[/url] loaded the "mypage" content into my index.php … | |
Hi, I have a website that keeps getting hacked allowing them to upload a phishing website and i was after some advice on how to stop it. The site is a dynamic website and after reading a guide i have added some code to the htaccess file to stop any … | |
Can you all tell me what control panel you are using and reason of using it? 1. cPanel 2. xPanel 3. LayeredPanel others thanks and advanced. | |
Hello I am not sure what category to put this in. I have a question about .htaccess what I am wanting to do is remove all .php extentions from all files on a website so [url]www.domain.com/contact.php[/url] will become [url]www.domain.com/contact[/url] So my .htaccess file which I have in my public_html folder … | |
Hi I have added the following code to my htaccess : RewriteEngine On Options +FollowSymlinks RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php RewriteRule ^/*(.+/)?([^.]*[^/])$ http://%{HTTP_HOST}/$1$2/ [L,R=301] the above rule just makes the url more SEO friendly so for example [url]www.domain.com/home.php[/url] will become [url]www.domain.com/home[/url] BUT when I have a … | |
In my Apache log yesterday, I noticed these strange errors: [CODE] 127.0.0.1 - - [17/Apr/2011:15:02:36 +0100] "GET /icons/blank.gif HTTP/1.1" 200 487 "http://localhost/" "msnbot/1.1 (+http://search.msn.com/msnbot.htm)" 127.0.0.1 - - [17/Apr/2011:15:02:36 +0100] "GET /icons/layout.gif HTTP/1.1" 200 616 "http://localhost/" "msnbot/1.1 (+http://search.msn.com/msnbot.htm)" 127.0.0.1 - - [17/Apr/2011:15:02:36 +0100] "GET /icons/text.gif HTTP/1.1" 200 569 "http://localhost/" "msnbot/1.1 (+http://search.msn.com/msnbot.htm)" … | |
Well, i'm thinking there is many OS Server out there like Win**** Server, Ubuntu Server, Red Hat, Centos, etc. What i want to ask is the difference between all of OS Server that would make you want to use it, example for me Free and Easy to use is very … |
The End.