Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-01-22 21:49:20

Kosimak
Member
Registered: 2012-01-19
Posts: 24
Website

index page only working

after installing only the homepage is working, every other link returns the following error:

Not Found

The requested URL /2/test/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Im suspecting a a file permission issue, but not completely sure.

what files do I need to change to 777?

thank you,

Kosimak.com

Offline

#2 2012-01-23 06:28:52

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: index page only working

Please make sure you have the .htaccess file and that your server supports .htaccess and mod_rewrite.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2012-01-23 06:34:55

Kosimak
Member
Registered: 2012-01-19
Posts: 24
Website

Re: index page only working

I do have a .htaccess, but I don't see any url rewrites in it.

what should the .htaccess contain?

Offline

#4 2012-01-23 10:14:04

ful2fun.com
Member
From: Usa
Registered: 2011-09-16
Posts: 1,049
Website

Re: index page only working

Kosimak wrote:

I do have a .htaccess, but I don't see any url rewrites in it.

what should the .htaccess contain?



Just Find File .htaccess In zip File And Upload On Your Server And Replace It It Will Start Working It Happened With Me Many Times.



ful2fun.com
livesexpirates.com


Pharmacy, wholesale prices - worldwide shipping.

Offline

#5 2012-01-23 15:15:02

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: index page only working

@Kosimak: drop me a email and i can send you the .htaccess file. It should contain:

Options -Indexes
Options +FollowSymLinks

<IfModule mod_php5.c>
  php_value max_input_time                  7200
  php_value max_execution_time              7200
  php_value memory_limit                    2048M
  php_value magic_quotes_gpc                0
  php_value magic_quotes_runtime            0
  php_value register_globals                0
  php_value session.auto_start              0
</IfModule>

<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    RewriteCond %{QUERY_STRING} SELECT(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} UNION(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} UPDATE(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteRule ^(.*)$ index.php [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !\.(flv|mp4|gif|jpg|jpeg|png|css|js|html)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault A1209600
  ExpiresByType text/html A1
  ExpiresByType text/html A1
  ExpiresByType text/html A1
  ExpiresByType text/html A1
</IfModule>

<ifModule mod_gzip.c>
  mod_gzip_on Yes
  mod_gzip_dechunk Yes
  mod_gzip_item_include file \.(html?|css|js)$
  mod_gzip_item_include handler ^cgi-script$
  mod_gzip_item_include mime ^text/.*
  mod_gzip_item_include mime ^application/x-javascript.*
  mod_gzip_item_exclude mime ^image/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

#FileETag MTime Size

#php_value xdebug.profiler_output_dir /tmp
#php_value xdebug.profiler_output_name cachegrind.out.%t.%p
#php_value xdebug.profiler_enable 1

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2012-02-28 14:00:21

william070707
Member
Registered: 2012-02-21
Posts: 18

Re: index page only working

Yes,This is really useful to me too. I appreciate you for posting it here.

Thanks,


God never made his work for man to mend icon_e_smile.gif

Offline

#7 2014-05-13 03:40:03

newxxx
Member
Registered: 2012-06-11
Posts: 702

Re: index page only working

Kosimak --

your site is listed here http://theporndude.com/

as the best arab porn tube !!!

Offline

Board footer

Powered by FluxBB