Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter t.wiuf

    (@twiuf)

    thanks I will have you in mind ??

    Thread Starter t.wiuf

    (@twiuf)

    Wauw.

    Many thanks.
    Now my site is back ??

    Thread Starter t.wiuf

    (@twiuf)

    okay thanks. will find the default ??

    Thread Starter t.wiuf

    (@twiuf)

    and the hole part:

    [ Moderator note: Code fixed, please wrap code in backticks or use the code button. ]

    ## Enable PHP 5.6
    AddType application/x-httpd-php56 php
    
    # BEGIN Adaptive Images
    #=======================
    
    <IfModule mod_rewrite.c>
    
        RewriteEngine On
    
        # Watched directories
        RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
        RewriteCond %{REQUEST_URI} /wp-content/themes
    
        # Redirect images through the adaptive images script
        RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images/ai-main.php [L]
    
    </IfModule>
    
    # END Adaptive Images
    
    AddType application/x-httpd-php56  php
    
    DirectoryIndex index.php index.html 
    
    # BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
        <IfModule mod_headers.c>
            Header append Vary User-Agent env=!dont-vary
        </IfModule>
            AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
        <IfModule mod_mime.c>
            # DEFLATE by extension
            AddOutputFilter DEFLATE js css htm html xml
        </IfModule>
    </IfModule>
    <FilesMatch "\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$">
        <IfModule mod_headers.c>
             Header set X-Powered-By "W3 Total Cache/0.9.4.1"
        </IfModule>
    </FilesMatch>
    <FilesMatch "\.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$">
        <IfModule mod_headers.c>
             Header set X-Powered-By "W3 Total Cache/0.9.4.1"
        </IfModule>
    </FilesMatch>
    <FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|woff|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|WOFF|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
        <IfModule mod_headers.c>
             Header set X-Powered-By "W3 Total Cache/0.9.4.1"
        </IfModule>
    </FilesMatch>
    # END W3TC Browser Cache
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    # Added by Surftown to prevent brute force attack against wp-login.php
    <IfModule mod_rewrite.c>
    	RewriteEngine on
    	RewriteCond %{REQUEST_METHOD} POST
    	RewriteCond %{HTTP_COOKIE} !^.*wordpress_test_cookie.*$ [NC]
    	RewriteRule wp-login.php  - [F,L]
    </IfModule>
    Thread Starter t.wiuf

    (@twiuf)

    Is this the part where it goes wrong?

    <IfModule mod_rewrite.c>
    
        RewriteEngine On
    
        # Watched directories
        RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
        RewriteCond %{REQUEST_URI} /wp-content/themes
    
        # Redirect images through the adaptive images script
        RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images/ai-main.php [L]
    
    </IfModule>
    
    # END Adaptive Images
    
    AddType application/x-httpd-php56  php
    
    DirectoryIndex index.php index.html
    Thread Starter t.wiuf

    (@twiuf)

    I have none :O

    Thread Starter t.wiuf

    (@twiuf)

    inside the content folder and the uploads folder there is no .htaccess file.

    Thread Starter t.wiuf

    (@twiuf)

    Should I maybe create a .htaccess file?

    Thread Starter t.wiuf

    (@twiuf)

    Just had a looong look. the folder has the same settings as displayed on the site you posted ??

    Thread Starter t.wiuf

    (@twiuf)

    Hi sudhirtiwari,

    how can I assign: “proper permission to upload directory, Check permission from cpanel or FTP client”

Viewing 10 replies - 1 through 10 (of 10 total)