1,521 Topics

Member Avatar for
Member Avatar for Chris Hüneke

Never published this before, so this is a DaniWeb.com Exclusive :) If your WP-Site has a lot of K-Links, you should consider using this script. It definetly works. For now... ## **Negative SEO** through spamming Backlinks can be a huge problem for the visibility of a webpage. ## You can …

Member Avatar for Dani
2
978
Member Avatar for riahc3

Hello Havent been here in a while but might as well give it a shot. I have several Apache Tomcat instances running on a Windows Server on different ports. They are all HTTP. The idea would be to (on the same server) install a IIS and use it a content …

Member Avatar for blud
2
42
Member Avatar for Adolfo_1

I have problem with this htaccess in STATIC URL RewriteEngine On RewriteRule ^readlex/(.*)$/?$ readlex.php?slug=$1 [NC,L] **DINAMIC URL** work fine only with defined CONSTANT: Example <a href="<?php echo BASE_URL.READ_LEX ?>Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex/Le-mura-di-Lucca **STATIC URL** not work (??) <a href="localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca ***Unfortunately I can't insert the php CONSTANTS in …

Member Avatar for Dani
1
200
Member Avatar for Adolfo_1

Hi, it is possible change this URL with .htaccess? **From** https://www.example.it/news.php?slug=aaaa-bbb-ccccc **To** ( seo-friendly without ‘news’ ): https://www.example.it/ aaaa-bbb-ccccc

Member Avatar for jkon
0
220
Member Avatar for Steve_63

My site is on Apache, the host has enabled 'mod_unique_id' My CSP runs in the root .htaccess. My host has given me 2 lines of code to put in the CSP to make an unrecognisable base64 NONCE code each time it's needed - particularly for PayPal. What they sent (in …

Member Avatar for AndreRet
0
152
Member Avatar for TimTheCoder

Helllo guys am trying to build my first ASP.NET application here and I have a **Models** folder and **Controllers** folder. The models folder contains the class for an entity called customer whose properties are to be read from sqlite database. Thee is also a **Pages** folder that contains a folder …

Member Avatar for pritaeas
0
80
Member Avatar for merabetta

The requested URL was not found on this server. Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.4 Server at localhost Port 80

Member Avatar for rproffitt
0
245
Member Avatar for codeblock

Hi all I have uncountered a problem which has me totally confused. The problem is I have created a website with a login form. Everything so far has been working fine. but then when I try to login all of a sudden I’m hit with a "Object not found! The …

Member Avatar for Dani
0
20K
Member Avatar for Saboor880

Hi! I have been developing and distributing Standalone Java Products in my local market for 4 years. My products include, POS Softwares for Retail and whole Sale Businesses and for Food Businesses such as Restaurants and cafes. I use Apache Derby Database which is also known as 'JavaDB' as database …

Member Avatar for Saboor880
0
188
Member Avatar for showman13

Hi All, It has been a long while since I've been here, but I have hit a wall/mind block/ whatever you want to call it. This should be simple, but drawing a complete blank. I have an affiliate website where my clients can refer us to their friends and receive …

Member Avatar for Dani
0
293
Member Avatar for Talwarkumo76
Member Avatar for tempa4643

Hi, I'm curious on how and which tools are used to develop an 8 ball pool game. The one I'm referring to is that you play online with strangers, and friends for coins and tournaments.

Member Avatar for rproffitt
0
24
Member Avatar for 8shahadat.apu1z
Member Avatar for Innocent_8

I have a website and I want to change the index.php and it is not working each time I add htaccess file code it will stop me from loging in as admin.

Member Avatar for AndreRet
0
293
Member Avatar for Lek_Plepi

hi guys i have one issue with apache mod_ssl, not showing on directory i have installed via cmd "dnf install mod_ssl" and i get -> Operation aborted. :( also ssl configuartion is missing from /etc/httpd/conf.d/ssl.conf i have tried to reinstall procedure but without success what is the issue :(

0
13
Member Avatar for DaveyMoyes

Hi Everyone, I have copied a .htaccess file from one website and I am trying to use the same htaccess file on a different website. here is the copy of the htaccess file I have copied from one site to another... <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^(\d+)/([^/]+)/?$ index.php?uiid=$1&title=$2 [L] </IfModule> …

Member Avatar for Dani
0
2K
Member Avatar for darren2005

Hi, quick question as I was wondering if I could setup PHPMailer and Sendmail both on the same Apache server? Wasn't sure if Apache would only allow one? Thanks in advance

Member Avatar for rproffitt
0
191
Member Avatar for Danny159

Hey! Having some more fun with htaccess again! - I have tired everyhting and cant get it to play... Below is my code: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] RewriteBase /v2/ RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f # Admin Pages …

Member Avatar for andrevanzuydam
0
290
Member Avatar for Danny159

Hey! I have the following code for htaccess that directs /page/ to /page.php etc RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] #RewriteBase / RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^([a-z0-9\-]+)/?$ $1.php [NC,L,QSA] However, I want to also add /admin/page/ that …

Member Avatar for Dani
0
545
Member Avatar for Ron Peters

If an index file is missing in a folder, apache uses its own file/files to list the contents of the folder. Since I don’t want to create an index file in every folder in the file systems, I wonder where I can find the file/files that apache uses when there …

Member Avatar for rproffitt
0
224
Member Avatar for FarrisFahad

Hello, I am trying to redirect my website from desktop version to mobile version. Here is the desktop version example: http://www.example.com Here is what I have accomplished: http://m.example.com The problem is that some files are stored under the www version and I want them to be shown on the m …

Member Avatar for Dani
1
3K
Member Avatar for FarrisFahad

I want to redirect my users to my mobile site. My mobile site is in a subfolder instead of a subdomain. Here is how I want it to work ... Request sent to: https://www.picturepunches.com/hot Redirect to: https://www.picturepunches.com/mobile/hot I also don't want to effect the images on that page. So I …

Member Avatar for Australia_1
0
5K
Member Avatar for Tuan_11

Tried to block internet access for one of my iPhone for testing purpose (it has dummy SIM means no cellular data) Enable Parental Controls (i.e it is ON) Choose a specific home device that I want to block then choose option : "Always" ,,,,,,,,,,,,my router screenshot same as the link …

Member Avatar for happygeek
0
472
Member Avatar for davy_yg

Hello, I am trying to install apache on my localhost but cannot find the file that I need to install apache. https://projects.apache.org/projects.html?name Why there are so many apache installer file? Which one should I download?

Member Avatar for dickiebow
0
291
Member Avatar for dkary555

Hi, I am using an Apache tool called Sentora, which forces me to have my [root] directory to be etc/sentora/panel .......causing me the big problem of killing my browsing to /var/www/html as my [root] folder, rendering it unreachable. How can I set up both (and more) using vhosts? Thanks.

Member Avatar for Dani
0
299
Member Avatar for Aamit

hi, I am created 3 tables for 1> category 2> subcategory 3> projectdetail In my website folder structure root-index.php, header.php footer.php folder- about -index.php and other files folder - project- index.php folder - err- 404.php In my php page project/index.php i make left column dynamic, i.e call value from table …

Member Avatar for Sapna_3
-1
8K
Member Avatar for SimonIoa

Hello i am getting an error on log about npm... Any suggestion? PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Web\External\npm.CMD" install npm WARN deprecated babili@0.0.10: babili has been renamed to babel-minify. Please update to babel-minify npm WARN engine …

Member Avatar for SimonIoa
0
864
Member Avatar for mattyd

Before I get into the specific issues, I want to provide some other details: - Normally, I work on a live, paid server (even in dev); I realize that is not advised, but it is a bad habit I developed over the years. I've tried using Xammp, but do not …

Member Avatar for benanamen
0
660
Member Avatar for gentlemedia

I'm using the following to redirect http to https in my root directory htaccess file <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> But this seems not to work if I access directly sub directories (http://example.com/sub-directory/) unless I place this mod_rewrite in an htaccess file in …

Member Avatar for cereal
0
465
Member Avatar for avinesh_1

Hi all, i want to write a shell script to unblock sendmail user whose mailbox exceed 100MB

Member Avatar for rproffitt
0
376
Member Avatar for Steven_20

Hey, can you help me with convert the web.config to a .htacces file? <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.php" /> <add value="_seiten/index.html" /> <add value="seite.php" /> </files> </defaultDocument> </system.webServer> <system.webServer> <handlers> <clear /> <add name="PHP53_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" /> <add name="PHP54_via_FastCGI" …

Member Avatar for Subraa_1
0
482
Member Avatar for gentlemedia

I have to do this: "the .htaccess file should allow the following directives" `DirectoryIndex` `Deny` `Allow` `Options` `Order` `AddHandler` `RewriteEngine` `RewriteBase` `RewriteCond` `RewriteRule` But I have no clue where to start with this. If I read about the first one for example https://httpd.apache.org/docs/2.4/mod/mod_dir.html then the default value is `DirectoryIndex index.html`which …

Member Avatar for gentlemedia
0
669
Member Avatar for davy_yg

Hello, I am having a problem with .htaccess file here. I am having a program written with laravel and whatever /... I write change into localhost/dashboard. Someone mention I need to change the .htaccess file but I do not know how to. If anyone here can help me please do …

Member Avatar for cereal
0
424
Member Avatar for chrisschristou

hello everyone gld this community exist ! i'm facing new problem with apache2 on ubuntu i'm using lamp from yesterday and everything works fine knowing that i'm originaly from windows ! so when i type `gksu service apache2 start` in terminal and then put my password, when i refresh localhost …

Member Avatar for rproffitt
0
2K
Member Avatar for ARNAB_2

I have a shell script , which I am executing via a PHP, which in turn executed from a html page. Whereas PHP script is not getting executed from the html. PHP script is working fine when executing from the server. Please be informed ownership is correct. Please suggest a …

Member Avatar for patk570
0
274
Member Avatar for massivefermion

Apache Cordova is a framework that lets you build mobile applications using HTML5, CSS and Javascript for different mobile platforms. But because the applications you build with this framework live in a layer on the top of the native development tools of the targeted platform, they're slower than equivalent applications …

Member Avatar for rproffitt
0
655
Member Avatar for Traevel

#Tutorial - Content extraction using Apache Tika From the official website: > The Apache Tika™ toolkit detects and extracts metadata and text from over a thousand different file types (such as PPT, XLS, and PDF). All of these file types can be parsed through a single interface, making Tika useful …

0
508
Member Avatar for caltech

Please see here https://processwire.com/talk/topic/15108-pw-in-subdirectory/ where I've been updating on this.

Member Avatar for caltech
0
471
Member Avatar for caltech

My htaccess goes like so: RewriteEngine on RewriteCond %{HTTP_HOST} ^(www.)?audino.us$ RewriteCond %{REQUEST_URI} !^/audino.us/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /audino.us/$1 RewriteCond %{HTTP_HOST} ^(www.)?audino.us$ RewriteRule ^(/)?$ audino.us/index.php [L] I got web hosting under the domain audino.us which defaults to public_html dir on server, how do I set it to …

Member Avatar for cereal
0
473
Member Avatar for Aeonix

I already tried couple solution from Google, but some of them didn't work (at all), others resulted in weird bug, where HTML page was loaded, but assets (CSS and images) didn't. Other times there were too many redirects and page freaked out. I have account on Cloud Flare, but both …

Member Avatar for Dani
0
497
Member Avatar for panduranga_1

Is it possible to create our own hosting using a server computer with good hardware configuration. If we install Linux server or Microsoft server edition like OS inside a computer, will it turn into hosting Server like Hostgator, godaddy etc. For example, If we create a website inside a localhost, …

Member Avatar for rubberman
0
448
Member Avatar for Ivan_10

I want to redirect every user on my site to folder - if folder exists with htaccess. Regardless to which page he wants to access (index.php, team.php, custom.php), he must be redirected to the folder I want.

Member Avatar for rproffitt
0
425
Member Avatar for shany0786

I have a admin folder where various .html files are there what happening is when i type http://mydomain.com/index.html it opens up a page and various other page but i want to put restrictions that if user is logined then only he can open other pages otherwise not. What i know …

Member Avatar for TexWiller
0
320
Member Avatar for khess

It's hard for me to admit it but there are things, ten things to be exact, that I really hate about Linux. Sometimes I think it's just me but I do see other people stating a few of these in the forums so I'm at least not alone with some …

Member Avatar for Andrew_29
4
4K
Member Avatar for Ioanna_1

I have a small spout in Storm of 60 integers but when I run the maven project I got the result but also several messages "Error: Stream Closed" like the photo below. What should I do to fix these errors? my terminal: ![Screenshot_from_2016_03_07_19_57_50.png](/attachments/large/4/6e9b2e556e2d91d16d4a7c868c4b3ab3.png "align-center") also when I use a large …

Member Avatar for stultuske
0
252
Member Avatar for sassy_94

Hello, I have an arrayList that I want to emit and receive it in another bolt. So as suggested on another post here I used: the first bolt: collector.emit(new Values(listI)); the next bolt: public void execute(Tuple tuple) { ArrayList<Integer> i = (ArrayList<Integer>)tuple.getValue(0); .... } but instead of a size 4 …

Member Avatar for JamesCherrill
0
302
Member Avatar for Teja_1

i am using php with xampp server and i am getting the following error while i am running the program. Unknown column 'firstname' in 'field list' (heres the program) CREATE DATABASE IF NOT EXISTS `customerdb` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `customerdb`; -- -------------------------------------------------------- -- -- Table structure for …

Member Avatar for Teja_1
0
404
Member Avatar for Mar. Na.

Hi,all I need a java parser for parsing any java file in any package,not only existing file ...Can i do this ? how?

Member Avatar for JamesCherrill
0
675
Member Avatar for Mar. Na.

Hi,i want to use this ClassParser to parse another file(class) in another package , in my code i used ClassParser to parse only existing file (class) in existing package ,,,how can i use it to parse any file and from any package ,if i can't use it ,is there any …

0
278
Member Avatar for bigtalk

Hello, I am trying to remove the www. at the beginning of our domain name via .htaccess. I'm doing it like this: [code]RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC] RewriteRule ^(.*)$ http://domain.com/$1 [R,NC][/code] It seems to word wonderfully. I would like to retain the www. when someone accesses the site securely with https. …

Member Avatar for bigtalk
0
332

The End.